ISecurityPolicyEncodable::FromXml Method (SecurityElement^, PolicyLevel^)
.NET Framework (current version)
Reconstructs a security object with a specified state from an XML encoding.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- e
-
Type:
System.Security::SecurityElement^
The XML encoding to use to reconstruct the security object.
- level
-
Type:
System.Security.Policy::PolicyLevel^
The policy-level context to resolve named permission set references.
Custom code that extends security policy objects needs to implement the ToXml and FromXml methods to make the objects security-encodable.
.NET Framework
Available since 1.1
Available since 1.1
Show: