Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ResourcePermissionBase::FromXml Method (SecurityElement^)

 

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

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

public:
virtual void FromXml(
	SecurityElement^ securityElement
) override

Parameters

securityElement
Type: System.Security::SecurityElement^

The XML encoding to use to reconstruct the security object.

Exception Condition
ArgumentException

The securityElement parameter is not a valid permission element.

-or-

The version number of the securityElement parameter is not supported.

ArgumentNullException

The securityElement parameter is null.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft