AspNetHostingPermission AspNetHostingPermission AspNetHostingPermission AspNetHostingPermission Constructors

Definition

Overloads

AspNetHostingPermission(PermissionState) AspNetHostingPermission(PermissionState) AspNetHostingPermission(PermissionState) AspNetHostingPermission(PermissionState)

Initializes a new instance of the AspNetHostingPermission class with the specified PermissionState enumeration value.

AspNetHostingPermission(AspNetHostingPermissionLevel) AspNetHostingPermission(AspNetHostingPermissionLevel) AspNetHostingPermission(AspNetHostingPermissionLevel) AspNetHostingPermission(AspNetHostingPermissionLevel)

Initializes a new instance of the AspNetHostingPermission class with the specified permission level.

AspNetHostingPermission(PermissionState) AspNetHostingPermission(PermissionState) AspNetHostingPermission(PermissionState) AspNetHostingPermission(PermissionState)

Initializes a new instance of the AspNetHostingPermission class with the specified PermissionState enumeration value.

public:
 AspNetHostingPermission(System::Security::Permissions::PermissionState state);
public AspNetHostingPermission (System.Security.Permissions.PermissionState state);
new System.Web.AspNetHostingPermission : System.Security.Permissions.PermissionState -> System.Web.AspNetHostingPermission
Public Sub New (state As PermissionState)

Parameters

Exceptions

state is not set to one of the PermissionState enumeration values.

AspNetHostingPermission(AspNetHostingPermissionLevel) AspNetHostingPermission(AspNetHostingPermissionLevel) AspNetHostingPermission(AspNetHostingPermissionLevel) AspNetHostingPermission(AspNetHostingPermissionLevel)

Initializes a new instance of the AspNetHostingPermission class with the specified permission level.

public:
 AspNetHostingPermission(System::Web::AspNetHostingPermissionLevel level);
public AspNetHostingPermission (System.Web.AspNetHostingPermissionLevel level);
new System.Web.AspNetHostingPermission : System.Web.AspNetHostingPermissionLevel -> System.Web.AspNetHostingPermission
Public Sub New (level As AspNetHostingPermissionLevel)

Parameters

See also

Applies to