ApplicationTrust::FromXml Method (SecurityElement^)

 

Reconstructs an ApplicationTrust object with a given state from an XML encoding.

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

public:
virtual void FromXml(
	SecurityElement^ element
) sealed

Parameters

element
Type: System.Security::SecurityElement^

The XML encoding to use to reconstruct the ApplicationTrust object.

Exception Condition
ArgumentNullException

element is null.

ArgumentException

The XML encoding used for element is invalid.

The ToXml and FromXml methods are implemented to make ApplicationTrust objects XML-encodable for security policy use.

.NET Framework
Available since 2.0
Return to top
Show: