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 C3727

'event': a NGWS runtime event must be a data member that has pointer to delegate type

NGWS events must be a pointer to a delegate type.

The following sample generates C3727:

#using <mscorlib.dll>

__gc class PseudoDelegate {
};

// Use the following declaration to resolve the error.
// __delegate(multicast) void PseudoDelegate(int);

__gc class MyAttr {
        __event PseudoDelegate* MyE;
};   // C3727

void main() {
}