NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C3264

'class' : a class-constructor cannot have a return type

Class constructors cannot have return types.

The following sample generates C3264:

#using <mscorlib.dll>

__gc class X {
   public:

   static int X() { // C3264
   }

   /* use the code below to resolve the error
   static X() {
   }
   */
}; 
void main() {
}