System.Web.AspNetHostingPermission Members

The members of System.Web.AspNetHostingPermission are listed below.

See Also: Inherited members from System.Security.CodeAccessPermission

Public Constructors

Initializes a new instance of the System.Web.AspNetHostingPermission class with the specified System.Security.Permissions.PermissionState enumeration value.

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

Public Properties

LevelAspNetHostingPermissionLevel.

Gets or sets the current hosting permission level for an ASP.NET application.

Public Methods

override
Copy() : System.Security.IPermission

When implemented by a derived class, creates and returns an identical copy of the current permission object.

override
FromXml(System.Security.SecurityElement)

Reconstructs a permission object with a specified state from an XML encoding.

override
Intersect(System.Security.IPermission) : System.Security.IPermission

When implemented by a derived class, creates and returns a permission that is the intersection of the current permission and the specified permission.

override
IsSubsetOf(System.Security.IPermission) : bool

Returns a value indicating whether the current permission is a subset of the specified permission.

IsUnrestricted() : bool

Returns a value indicating whether unrestricted access to the resource that is protected by the current permission is allowed.

override
ToXml() : System.Security.SecurityElement

Creates an XML encoding of the permission object and its current state.

override
Union(System.Security.IPermission) : System.Security.IPermission

Creates a permission that is the union of the current permission and the specified permission.