Udostępnij za pośrednictwem


Security attribute '<attributename>' is not valid: <error>

The common language runtime does not accept the attribute in a security context.

Error ID: BC30128

To correct this error

  1. Remove the attribute from the declaration or replace it with an attribute that is valid for the context.

  2. Examine the quoted error message and take appropriate action.

See Also

Tasks

How to: Define Your Own Attributes