ZoneMembershipCondition 类

定义

通过测试程序集的原始区域确定该程序集是否属于代码组。 此类不能被继承。

public ref class ZoneMembershipCondition sealed : System::Security::ISecurityEncodable, System::Security::Policy::IMembershipCondition
public ref class ZoneMembershipCondition sealed : System::Security::Policy::IMembershipCondition
public ref class ZoneMembershipCondition sealed
public sealed class ZoneMembershipCondition : System.Security.ISecurityEncodable, System.Security.Policy.IMembershipCondition
[System.Serializable]
public sealed class ZoneMembershipCondition : System.Security.Policy.IMembershipCondition
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ZoneMembershipCondition
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ZoneMembershipCondition : System.Security.Policy.IMembershipCondition
type ZoneMembershipCondition = class
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
    interface IMembershipCondition
type ZoneMembershipCondition = class
    interface ISecurityEncodable
    interface IMembershipCondition
    interface ISecurityPolicyEncodable
[<System.Serializable>]
type ZoneMembershipCondition = class
    interface IMembershipCondition
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ZoneMembershipCondition = class
    interface IMembershipCondition
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
Public NotInheritable Class ZoneMembershipCondition
Implements IMembershipCondition, ISecurityEncodable
Public NotInheritable Class ZoneMembershipCondition
Implements IMembershipCondition
Public NotInheritable Class ZoneMembershipCondition
继承
ZoneMembershipCondition
属性
实现

构造函数

ZoneMembershipCondition(SecurityZone)

用确定成员身份的区域初始化 ZoneMembershipCondition 类的新实例。

属性

SecurityZone

获取或设置要针对其测试成员条件的区域。

方法

Check(Evidence)

确定指定的证据是否能满足成员条件。

Copy()

创建成员条件的等效副本。

Equals(Object)

确定指定对象中的区域是否等效于包含在当前 ZoneMembershipCondition 中的区域。

FromXml(SecurityElement)

通过 XML 编码重新构造具有指定状态的安全对象。

FromXml(SecurityElement, PolicyLevel)

通过 XML 编码重新构造具有指定状态的安全对象。

GetHashCode()

获取当前成员条件的哈希代码。

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

创建并返回成员条件的字符串表示形式。

ToXml()

创建安全对象及其当前状态的 XML 编码。

ToXml(PolicyLevel)

使用指定的 PolicyLevel 创建安全对象及其当前状态的 XML 编码。

适用于