XamlLoadPermission::FromXml Method (SecurityElement^)
.NET Framework (current version)
Reconstructs a security object with a specified state from an XML encoding.
Assembly: System.Xaml (in System.Xaml.dll)
Parameters
- elem
-
Type:
System.Security::SecurityElement^
The XML encoding to use to reconstruct the security object.
| Exception | Condition |
|---|---|
| ArgumentNullException | elem is null. |
| ArgumentException | elem does not contain the XML encoding for a XamlLoadPermission. -or- The version attribute within elem is not supported. |
.NET Framework
Available since 4.0
Available since 4.0
Show: