ISecurityPolicyEncodable::FromXml Method (SecurityElement^, PolicyLevel^)

 

Reconstructs a security object with a specified state from an XML encoding.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

void FromXml(
	SecurityElement^ e,
	PolicyLevel^ level
)

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
Return to top
Show: