Mono Class Library: Overview

System.Security.PermissionSet: Members

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

See Also: Inherited members from System.Object

Public Constructors

Constructs a new instance of the System.Security.PermissionSet class with the specified value.
Constructs a new instance of the System.Security.PermissionSet class with the values of the specified System.Security.PermissionSet instance.

Public Properties

[read-only]
Countint. Implemented to support the ICollection interface. [Note: For more information, see ICollection.Count.]
[read-only]
IsReadOnlybool. Documentation for this section has not yet been entered.
[read-only]
IsSynchronizedbool. Implemented to support the ICollection interface. [Note: For more information, see ICollection.IsSynchronized.]
[read-only]
SyncRootobject. Implemented to support the ICollection interface. [Note: For more information, see ICollection.SyncRoot.]

Public Methods

AddPermission(IPermission) : IPermission
Adds the specified System.Security.IPermission object to the current instance if that permission does not already exist in the current instance.
Assert()
Asserts that calling code can access the resources identified by the permissions contained in the current instance through the code that calls this method, even if callers have not been granted permission to access the resource.
ContainsNonCodeAccessPermissions() : bool
Documentation for this section has not yet been entered.
static
ConvertPermissionSet(string, byte[], string) : byte[]
Documentation for this section has not yet been entered.
Copy() : PermissionSet
Returns a new System.Security.PermissionSet containing copies of the objects in the current instance.
CopyTo(Array, int)
Copies the permission objects in the current instance to the specified location in the specified Array .
Demand()
Forces a System.Security.SecurityException if all callers do not have the permissions specified by the objects contained in the current instance.
Deny()
Denies access to the resources secured by the objects contained in the current instance through the code that calls this method.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
FromXml(SecurityElement)
Reconstructs the state of a System.Security.PermissionSet object using the specified XML encoding.
GetEnumerator() : IEnumerator
Returns an enumerator used to iterate over the permissions in the current instance.
override
GetHashCode() : int
Documentation for this section has not yet been entered.
GetPermission(Type) : IPermission
Documentation for this section has not yet been entered.
Intersect(PermissionSet) : PermissionSet
Documentation for this section has not yet been entered.
IsEmpty() : bool
Documentation for this section has not yet been entered.
IsSubsetOf(PermissionSet) : bool
Determines whether the current instance is a subset of the specified object.
IsUnrestricted() : bool
Documentation for this section has not yet been entered.
PermitOnly()
Specifies that only the resources described by the current instance can be accessed by calling code, even if the code has been granted permission to access other resources.
RemovePermission(Type) : IPermission
Documentation for this section has not yet been entered.
static
RevertAssert()
Documentation for this section has not yet been entered.
SetPermission(IPermission) : IPermission
Documentation for this section has not yet been entered.
override
ToString() : string
Returns a string representation of the state of the current instance.
ToXml() : SecurityElement
Returns the XML encoding of the current instance.
Union(PermissionSet) : PermissionSet
Returns a System.Security.PermissionSet object that is the union of the current instance and the specified object.

Explicitly Implemented Interface Members

System.Runtime.Serialization.IDeserializationCallback.OnDeserializationDocumentation for this section has not yet been entered.

Extension Methods

static
AsQueryable(this IEnumerable) : System.Linq.IQueryable
Documentation for this section has not yet been entered.
static
Cast<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.
static
OfType<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.