ISecurityPolicyEncodable.FromXml(SecurityElement, PolicyLevel) 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.
public:
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
Public Sub FromXml (e As SecurityElement, level As PolicyLevel)
Parameters
The XML encoding to use to reconstruct the security object.
- level
- PolicyLevel
The policy-level context to resolve named permission set references.
Remarks
Custom code that extends security policy objects needs to implement the ToXml and FromXml methods to make the objects security-encodable.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.