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 C2790

'super' : this keyword can only be used within the body of class member function

This error message appears if the user ever tries to uses the keyword super outside of the context of a member function.

The following code sample shows one way this error could be generated:

// compile with cl /c
void f()
{
   __super::g();
}