AppDomain.Evidence 属性

定义

获取与该应用程序域关联的 EvidenceGets the Evidence associated with this application domain.

public:
 property System::Security::Policy::Evidence ^ Evidence { System::Security::Policy::Evidence ^ get(); };
public System.Security.Policy.Evidence Evidence { get; }
member this.Evidence : System.Security.Policy.Evidence
Public ReadOnly Property Evidence As Evidence

属性值

与该应用程序域关联的证据。The evidence associated with this application domain.

实现

异常

在卸载的应用程序域上尝试该操作。The operation is attempted on an unloaded application domain.

安全性

SecurityPermission
加载包含证据的程序集。to load an assembly with evidence. 关联的枚举:ControlEvidenceAssociated enumeration: ControlEvidence. 安全操作: DemandSecurity action: Demand.

适用于