System.Security.Permissions.ResourcePermissionBase: Method Members

The methods of System.Security.Permissions.ResourcePermissionBase are listed below. For a list of all members, see the ResourcePermissionBase Members list.

See Also: Inherited members from System.Security.CodeAccessPermission

Public Methods

override
Copy() : System.Security.IPermission

Creates and returns an identical copy of the current permission object.

override
FromXml(System.Security.SecurityElement)

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

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

Creates and returns a permission object that is the intersection of the current permission object and a target permission object.

override
IsSubsetOf(System.Security.IPermission) : bool

Determines whether the current permission object is a subset of the specified permission.

IsUnrestricted() : bool

Gets a value indicating whether the permission is unrestricted.

override
ToXml() : System.Security.SecurityElement

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

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

Creates a permission object that combines the current permission object and the target permission object.

Protected Methods

AddPermissionAccess(ResourcePermissionBaseEntry)

Adds a permission entry to the permission.

Clear()

Clears the permission of the added permission entries.

GetPermissionEntries() : ResourcePermissionBaseEntry[]

Returns an array of the System.Security.Permissions.ResourcePermissionBaseEntry objects added to this permission.

RemovePermissionAccess(ResourcePermissionBaseEntry)

Removes a permission entry from the permission.