Bewerken

Delen via


AspNetHostingPermissionAttribute(SecurityAction) Constructor

Definition

Initializes a new instance of the AspNetHostingPermissionAttribute class.

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

Parameters

action
SecurityAction

One of the SecurityAction enumeration values.

Applies to