SiteMembershipCondition.FromXml 方法

定义

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

重载

FromXml(SecurityElement)

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

FromXml(SecurityElement, PolicyLevel)

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

FromXml(SecurityElement)

Source:
SiteMembershipCondition.cs
Source:
SiteMembershipCondition.cs
Source:
SiteMembershipCondition.cs
Source:
SiteMembershipCondition.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 编码。

实现

例外

e 参数为 null

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

适用于

FromXml(SecurityElement, PolicyLevel)

Source:
SiteMembershipCondition.cs
Source:
SiteMembershipCondition.cs
Source:
SiteMembershipCondition.cs
Source:
SiteMembershipCondition.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

PolicyLevel 上下文,它用于解析 NamedPermissionSet 引用。

实现

例外

e 参数为 null

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

适用于