GacInstalled 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Code Access Security is not supported or honored by the runtime.
确认代码程序集源自全局程序集缓存(GAC)作为策略评估的证据。 此类不能被继承。
public ref class GacInstalled sealed : System::Security::Policy::EvidenceBase, System::Security::Policy::IIdentityPermissionFactory
public ref class GacInstalled sealed : System::Security::Policy::IIdentityPermissionFactory
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class GacInstalled : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class GacInstalled : System.Security.Policy.IIdentityPermissionFactory
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class GacInstalled : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
public sealed class GacInstalled : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type GacInstalled = class
inherit EvidenceBase
interface IIdentityPermissionFactory
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type GacInstalled = class
interface IIdentityPermissionFactory
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type GacInstalled = class
inherit EvidenceBase
interface IIdentityPermissionFactory
type GacInstalled = class
inherit EvidenceBase
interface IIdentityPermissionFactory
Public NotInheritable Class GacInstalled
Inherits EvidenceBase
Implements IIdentityPermissionFactory
Public NotInheritable Class GacInstalled
Implements IIdentityPermissionFactory
- 继承
- 继承
-
GacInstalled
- 属性
- 实现
注解
Caution
代码访问安全性(CAS)已在 .NET Framework 和 .NET 的所有版本中弃用。 如果使用与 CAS 相关的 API,最新版本的 .NET 不会遵循 CAS 注释,并会生成错误。 开发人员应寻求完成安全任务的替代方法。
证据的存在 GacInstalled 在授予集中产生一个 GacIdentityPermission 。 如果有,DemandGacIdentityPermission则GacIdentityPermission与证据相对应GacInstalled的证据与所需的权限进行比较。
构造函数
| 名称 | 说明 |
|---|---|
| GacInstalled() |
已过时.
初始化 GacInstalled 类的新实例。 |
方法
| 名称 | 说明 |
|---|---|
| Clone() |
已过时.
创建一个新对象,该对象是当前实例的副本。 |
| Clone() |
已过时.
创建一个新对象,该对象是当前实例的完整副本。 (继承自 EvidenceBase) |
| Copy() |
已过时.
创建当前对象的等效副本。 |
| CreateIdentityPermission(Evidence) |
已过时.
创建与当前对象对应的新标识权限。 |
| Equals(Object) |
已过时.
指示当前对象是否等效于指定的对象。 |
| GetHashCode() |
已过时.
返回当前对象的哈希代码。 |
| GetType() |
已过时.
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
已过时.
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
已过时.
返回当前对象的字符串表示形式。 |