Compartilhar via


SharePointPermissionAttribute(System.Security.Permissions.SecurityAction) Constructor

The SharePointPermissionAttribute constructor initializes a new instance of the SharePointPermissionAttribute class with the specified SecurityAction.

Parameters

action    One of the SecurityAction values.

Exceptions

Exception Type Condition
ArgumentException The action parameter is not a valid SecurityAction.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security