編輯

共用方式為


Zone.CreateIdentityPermission(Evidence) Method

Definition

Creates an identity permission that corresponds to the current instance of the Zone evidence class.

public:
 virtual System::Security::IPermission ^ CreateIdentityPermission(System::Security::Policy::Evidence ^ evidence);
public System.Security.IPermission CreateIdentityPermission (System.Security.Policy.Evidence evidence);
abstract member CreateIdentityPermission : System.Security.Policy.Evidence -> System.Security.IPermission
override this.CreateIdentityPermission : System.Security.Policy.Evidence -> System.Security.IPermission
Public Function CreateIdentityPermission (evidence As Evidence) As IPermission

Parameters

evidence
Evidence

The evidence set from which to construct the identity permission.

Returns

A ZoneIdentityPermission for the specified Zone evidence.

Implements

Applies to