PolicyLevel Methods

PolicyLevel Methods

 

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAddFullTrustAssembly(StrongName)

Obsolete.Adds a StrongNameMembershipCondition corresponding to the specified StrongName 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.

System_CAPS_pubmethodAddFullTrustAssembly(StrongNameMembershipCondition)

Obsolete.Adds the specified 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.

System_CAPS_pubmethodAddNamedPermissionSet(NamedPermissionSet)

Adds a NamedPermissionSet to the current policy level.

System_CAPS_pubmethodChangeNamedPermissionSet(String, PermissionSet)

Replaces a NamedPermissionSet in the current policy level with the specified PermissionSet.

System_CAPS_pubmethodSystem_CAPS_staticCreateAppDomainLevel()

Obsolete.Creates a new policy level for use at the application domain policy level.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodFromXml(SecurityElement)

Reconstructs a security object with a given state from an XML encoding.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetNamedPermissionSet(String)

Returns the NamedPermissionSet in the current policy level with the specified name.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRecover()

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.

System_CAPS_pubmethodRemoveFullTrustAssembly(StrongName)

Obsolete.Removes an assembly with the specified StrongName from the list of assemblies the policy level uses to evaluate policy.

System_CAPS_pubmethodRemoveFullTrustAssembly(StrongNameMembershipCondition)

Obsolete.Removes an assembly with the specified StrongNameMembershipCondition from the list of assemblies the policy level uses to evaluate policy.

System_CAPS_pubmethodRemoveNamedPermissionSet(NamedPermissionSet)

Removes the specified NamedPermissionSet from the current policy level.

System_CAPS_pubmethodRemoveNamedPermissionSet(String)

Removes the NamedPermissionSet with the specified name from the current policy level.

System_CAPS_pubmethodReset()

Returns the current policy level to the default state.

System_CAPS_pubmethodResolve(Evidence)

Resolves policy based on evidence for the policy level, and returns the resulting PolicyStatement.

System_CAPS_pubmethodResolveMatchingCodeGroups(Evidence)

Resolves policy at the policy level and returns the root of a code group tree that matches the evidence.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodToXml()

Creates an XML encoding of the security object and its current state.

Return to top
Show:
© 2016 Microsoft