HashMembershipCondition.FromXml 方法

定义

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

重载

FromXml(SecurityElement)

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

FromXml(SecurityElement, PolicyLevel)

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

FromXml(SecurityElement)

Source:
HashMembershipCondition.cs
Source:
HashMembershipCondition.cs
Source:
HashMembershipCondition.cs
Source:
HashMembershipCondition.cs

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

public:
 virtual void FromXml(System::Security::SecurityElement ^ e);
public void FromXml (System.Security.SecurityElement e);
abstract member FromXml : System.Security.SecurityElement -> unit
override this.FromXml : System.Security.SecurityElement -> unit
Public Sub FromXml (e As SecurityElement)

参数

e
SecurityElement

用于重新构造安全对象的 XML 编码。

实现

适用于

FromXml(SecurityElement, PolicyLevel)

Source:
HashMembershipCondition.cs
Source:
HashMembershipCondition.cs
Source:
HashMembershipCondition.cs
Source:
HashMembershipCondition.cs

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

public:
 virtual void FromXml(System::Security::SecurityElement ^ e, System::Security::Policy::PolicyLevel ^ level);
public void FromXml (System.Security.SecurityElement e, System.Security.Policy.PolicyLevel level);
abstract member FromXml : System.Security.SecurityElement * System.Security.Policy.PolicyLevel -> unit
override this.FromXml : System.Security.SecurityElement * System.Security.Policy.PolicyLevel -> unit
Public Sub FromXml (e As SecurityElement, level As PolicyLevel)

参数

e
SecurityElement

用于重新构造安全对象的 XML 编码。

level
PolicyLevel

策略级别上下文,用于解析命名的权限集引用。

实现

例外

e 参数为 null

e 参数不是有效的成员条件元素。

适用于