System.Security.NamedPermissionSet Members

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

See Also: Inherited members from System.Security.PermissionSet

Public Constructors

Initializes a new instance of the System.Security.NamedPermissionSet class from another named permission set.

Initializes a new, empty instance of the System.Security.NamedPermissionSet class with the specified name.

Initializes a new instance of the System.Security.NamedPermissionSet class with the specified name in either an unrestricted or a fully restricted state.

Initializes a new instance of the System.Security.NamedPermissionSet class with the specified name from a permission set.

Public Properties

Descriptionstring.

Gets or sets the text description of the current named permission set.

Namestring.

Gets or sets the name of the current named permission set.

Public Methods

override
Copy() : PermissionSet

Creates a permission set copy from a named permission set.

Copy(string) : NamedPermissionSet

Creates a copy of the named permission set with a different name but the same permissions.

override
Equals(object) : bool

Determines whether the specified System.Security.NamedPermissionSet object is equal to the current System.Security.NamedPermissionSet.

override
FromXml(SecurityElement)

Reconstructs a named permission set with a specified state from an XML encoding.

override
GetHashCode() : int

Gets a hash code for the System.Security.NamedPermissionSet object that is suitable for use in hashing algorithms and data structures such as a hash table.

override
ToXml() : SecurityElement

Creates an XML element description of the named permission set.