Export (0) Print
Expand All
Expand Minimize

'<typename>' cannot be used as an attribute because it is not a class

An attempt was made to use a type that is not a class as an attribute.

Error ID: BC31503

To correct this error

  • Define custom attributes as classes that derive from System.Attribute.

Community Additions

ADD
Show:
© 2014 Microsoft