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 C3162

'function' : a pure function cannot be '__sealed'

The __sealed keyword was applied to a pure virtual function. A pure virtual function must be implemented in a derived class; a __sealed method cannot be implemented by a derived class.

The following sample generates C3162:

#using <mscorlib.dll>

__gc class CMyClass {
   __sealed void virtual Function(void) = 0;   // C3162
};

void main() {
}