XamlLoadPermission::FromXml Method (SecurityElement^)

.NET Framework (current version)
 

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

Namespace:   System.Xaml.Permissions
Assembly:  System.Xaml (in System.Xaml.dll)

public:
virtual void FromXml(
	SecurityElement^ elem
) override

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