共用方式為


StrongName.CreateIdentityPermission(Evidence) 方法

定義

建立對應至目前 StrongNameIdentityPermissionStrongName

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

參數

evidence
Evidence

要從其中建構 EvidenceStrongNameIdentityPermission

傳回

指定 StrongNameIdentityPermissionStrongName

實作

備註

強名稱的身分識別許可權可用來判斷呼叫程式代碼是否在特定強名稱程式代碼元件中。

適用於