StrongName.CreateIdentityPermission(Evidence) 方法

定义

创建与当前 StrongNameIdentityPermission 对应的 StrongName

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

构造 Evidence 所依据的 StrongNameIdentityPermission

返回

指定 StrongNameIdentityPermissionStrongName

实现

注解

强名称的标识权限可用于确定调用代码是否位于特定的强命名代码程序集中。

适用于