HostSecurityManager.ResolvePolicy(Evidence) HostSecurityManager.ResolvePolicy(Evidence) HostSecurityManager.ResolvePolicy(Evidence) Method

Definition

Warning

This API is now obsolete.

Determines what permissions to grant to code based on the specified evidence.

public:
 virtual System::Security::PermissionSet ^ ResolvePolicy(System::Security::Policy::Evidence ^ evidence);
[System.Obsolete]
public virtual System.Security.PermissionSet ResolvePolicy (System.Security.Policy.Evidence evidence);
abstract member ResolvePolicy : System.Security.Policy.Evidence -> System.Security.PermissionSet
override this.ResolvePolicy : System.Security.Policy.Evidence -> System.Security.PermissionSet

Parameters

evidence
Evidence Evidence Evidence

The evidence set used to evaluate policy.

Returns

The permission set that can be granted by the security system.

Exceptions

Remarks

This method invokes the security policy engine, providing it with the specified evidence. The result is determined by the security policy.

Applies to