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 C2502

'identifier' : too many access modifiers on the base class

The base class has more than one access modifier. Only one access modifier (public, private, or protected) is allowed.

Example

class A { };
class B { };
class C : private public A { };     // error
class D : private A { };            // OK
class E : public A, private B { };  // OK