ApplicationTrust::FromXml Method (SecurityElement^)
.NET Framework (current version)
Reconstructs an ApplicationTrust object with a given state from an XML encoding.
Assembly: mscorlib (in mscorlib.dll)
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
Available since 2.0
Show: