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 override void FromXml(
	SecurityElement securityElement
)

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: