This documentation is archived and is not being maintained.
.NET Framework 1.1
The methods of the PolicyLevel class are listed here. For a complete list of PolicyLevel class members, see the PolicyLevel Members topic.
|AddFullTrustAssembly||Overloaded. Adds a StrongNameMembershipCondition to the list of StrongNameMembershipCondition objects used to determine whether an assembly is a member of the group of assemblies that should not be evaluated.|
|AddNamedPermissionSet||Adds a NamedPermissionSet to the current policy level.|
|ChangeNamedPermissionSet||Replaces a NamedPermissionSet in the current policy level with the specified PermissionSet.|
|CreateAppDomainLevel||Creates a new policy level for use at the application domain policy level.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|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 NamedPermissionSet in the current policy level with the specified name.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|Recover||Replaces the configuration file for this PolicyLevel with the last backup (reflecting the state of policy prior to the last time it was saved) and returns it to the state of the last save.|
|RemoveFullTrustAssembly||Overloaded. Removes an assembly from the list of assemblies the policy level uses to evaluate policy.|
|RemoveNamedPermissionSet||Overloaded. Removes a NamedPermissionSet from the current policy level.|
|Reset||Returns the current policy level to the default state.|
|Resolve||Resolves policy based on evidence for the policy level, and returns the resulting PolicyStatement.|
|ResolveMatchingCodeGroups||Resolves policy at the policy level and returns the root of a code group tree that matches the 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.|
|Finalize (inherited from Object)||Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax.
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|