This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
PolicyLevel Methods
The methods of the PolicyLevel class are listed below. For a complete list of PolicyLevel class members, see the PolicyLevel Members topic.
Public:
AddNamedPermissionSet |
Adds a new named permission set to the policy level. |
CreateAppDomainLevel |
This static method creates a new policy level for us as the application domain policy level. Ref: AppDomain.SetDomainPolicy |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FromXml |
Reconstructs a security object with a given state from an XML encoding. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetNamedPermissionSet |
Returns the named permission set for this policy level, with the given name. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Recover |
[To be supplied.] |
RemoveNamedPermissionSet |
Overloaded. Removes a named permission set object at the policy level. |
Reset |
[To be supplied.] |
Resolve |
Resolves policy from evidence for the policy level, and returns PolicyStatement as result. |
ResolveMatchingCodeGroups |
Resolves policy at the policy level, returning a list of code groups that match the identity evidence. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
ToXml |
Creates an XML encoding, of the security object and its current state. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
PolicyLevel Class | System.Security.Policy Namespace