Mono Class Library: Overview

System.Security.CodeAccessPermission: Members

The members of System.Security.CodeAccessPermission are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Constructs a new instance of the System.Security.CodeAccessPermission class.

Public Methods

Assert()
Asserts that calling code can access the resource identified by the current instance through the code that calls this method, even if callers have not been granted permission to access the resource.
abstract
Copy() : IPermission
Returns a System.Security.CodeAccessPermission containing the same values as the current instance.
Demand()
Forces a System.Security.SecurityException if all callers do not have the permission specified by the current instance.
Deny()
Denies access to the resources specified by the current instance through the code that calls this method.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
abstract
FromXml(SecurityElement)
Reconstructs the state of a System.Security.CodeAccessPermission object using the specified XML encoding.
override
GetHashCode() : int
Documentation for this section has not yet been entered.
abstract
Intersect(IPermission) : IPermission
Returns a System.Security.CodeAccessPermission object that is the intersection of the current instance and the specified object.
abstract
IsSubsetOf(IPermission) : bool
Determines whether the current instance is a subset of the specified object.
PermitOnly()
Documentation for this section has not yet been entered.
static
RevertAll()
Documentation for this section has not yet been entered.
static
RevertAssert()
Documentation for this section has not yet been entered.
static
RevertDeny()
Documentation for this section has not yet been entered.
static
RevertPermitOnly()
Documentation for this section has not yet been entered.
override
ToString() : string
Returns the XML representation of the state of the current instance.
abstract
ToXml() : SecurityElement
Returns the XML encoding of the current instance.
Union(IPermission) : IPermission
Returns a System.Security.CodeAccessPermission object that is the union of the current instance and the specified object.