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 C3254

'function' : can only apply __transient to a data member

The __transient keyword can only be applied to class data members.

The following sample generates C3254:

#using<mscorlib.dll>

__gc __serializable class X {
   __transient func();   // C3254
};

void main() {
}