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 C3374

Illegal use of managed function with no arguments

You must use parentheses () with any call to a method in the NGWS Framework.

The following sample generates C3374:

#using <mscorlib.dll>
void main(){
   Exception *e = new Exception();   
   Console::WriteLine(e->ToString);   // C3374
   // try the following line
   // Console::WriteLine(e->ToString());
}