PublisherMembershipCondition.FromXml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reconstructs a security object with a specified state from an XML encoding.
Overloads
FromXml(SecurityElement) |
Reconstructs a security object with a specified state from an XML encoding. |
FromXml(SecurityElement, PolicyLevel) |
Reconstructs a security object with a specified state from an XML encoding. |
FromXml(SecurityElement)
Reconstructs a security object with a specified state from an XML encoding.
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)
Parameters
The XML encoding to use to reconstruct the security object.
Implements
Exceptions
The e
parameter is null
.
The e
parameter is not a valid membership condition element.
Applies to
FromXml(SecurityElement, PolicyLevel)
Reconstructs a security object with a specified state from an XML encoding.
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)
Parameters
The XML encoding to use to reconstruct the security object.
- level
- PolicyLevel
The PolicyLevel context, used to resolve NamedPermissionSet references.
Implements
Exceptions
The e
parameter is null
.
The e
parameter is not a valid membership condition element.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈