Bewerken

Share via


SecurityPermissionAttribute(SecurityAction) Constructor

Definition

Initializes a new instance of the SecurityPermissionAttribute class with the specified SecurityAction.

public:
 SecurityPermissionAttribute(System::Security::Permissions::SecurityAction action);
public SecurityPermissionAttribute (System.Security.Permissions.SecurityAction action);
new System.Security.Permissions.SecurityPermissionAttribute : System.Security.Permissions.SecurityAction -> System.Security.Permissions.SecurityPermissionAttribute
Public Sub New (action As SecurityAction)

Parameters

action
SecurityAction

One of the SecurityAction values.

Applies to