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 C3738

'class': custom attribute class does not have any public constructors

A custom attribute class must have a public constructor.

The following sample generates C3738:

#using <mscorlib.dll>
using namespace System;

[attribute(All)]
__gc class A {
private:
// The following line resolves the error.
// public:
   A() {
   }
};   // C3738

void main() {
}