AllMembershipCondition 类

定义

表示与所有代码匹配的成员条件。 此类不能被继承。

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

注解

此成员资格条件通常用于策略级别的根代码组,以便策略适用于所有代码。

构造函数

AllMembershipCondition()

初始化 AllMembershipCondition 类的新实例。

方法

Check(Evidence)

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

Copy()

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

Equals(Object)

确定指定的成员条件是否为 AllMembershipCondition

FromXml(SecurityElement, PolicyLevel)

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

FromXml(SecurityElement)

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

GetHashCode()

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

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

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

ToXml()

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

ToXml(PolicyLevel)

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

适用于