HostSecurityManager.ResolvePolicy(Evidence) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API is now deprecated.
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);
public virtual System.Security.PermissionSet ResolvePolicy (System.Security.Policy.Evidence evidence);
[<System.Obsolete>]
abstract member ResolvePolicy : System.Security.Policy.Evidence -> System.Security.PermissionSet
override this.ResolvePolicy : System.Security.Policy.Evidence -> System.Security.PermissionSet
abstract member ResolvePolicy : System.Security.Policy.Evidence -> System.Security.PermissionSet
override this.ResolvePolicy : System.Security.Policy.Evidence -> System.Security.PermissionSet
Public Overridable Function ResolvePolicy (evidence As Evidence) As PermissionSet
Parameters
- evidence
- Evidence
The evidence set used to evaluate policy.
Returns
The permission set that can be granted by the security system.
- Attributes
Exceptions
evidence
is null
.
Remarks
This method invokes the security policy engine, providing it with the specified evidence. The result is determined by the security policy.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.