[Serializable] |
Policy statements are typically used as the result of a PolicyLevel.Resolve operation on a PolicyLevel.
ctor #1 | Overloaded:.ctor(PermissionSet permSet) Initializes a new instance of the PolicyStatement class with the specified PermissionSet. |
ctor #2 | Overloaded:.ctor(PermissionSet permSet, PolicyStatementAttribute attributes) Initializes a new instance of the PolicyStatement class with the specified PermissionSet and attributes. |
Attributes | Read-write Gets or sets the attributes of the policy statement. |
AttributeString | Read-only Gets a human-readable representation of the attributes of the policy statement. |
PermissionSet | Read-write Gets or sets the PermissionSet of the policy statement. |
Copy | Creates an equivalent copy of the current policy statement. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
FromXml | Overloaded:FromXml(SecurityElement et) Reconstructs a security object with a given state from an XML encoding. |
FromXml | Overloaded:FromXml(SecurityElement et, PolicyLevel level) Reconstructs a security object with a given state from an XML encoding. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
ToXml | Overloaded:ToXml() Creates an XML encoding of the security object and its current state. |
ToXml | Overloaded:ToXml(PolicyLevel level) Creates an XML encoding of the security object and its current state. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public PolicyStatement( |
permSet
public PolicyStatement(PermissionSet permSet, PolicyStatement( |
permSet
attributes
public PolicyStatementAttribute Attributes {get; set;}
|
public string AttributeString {get;}
|
public PermissionSet PermissionSet {get; set;}
|
public PolicyStatement Copy(); |
~PolicyStatement(); |
public void FromXml( |
et
public void FromXml( |
et
level
Exception Type | Condition |
---|---|
ArgumentNullException | The et parameter is null. |
ArgumentException | The et parameter is not a valid PolicyStatement encoding. |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |
public SecurityElement ToXml(); |
public SecurityElement ToXml( |
level