ResourcePermissionBase.FromXml Method (SecurityElement)
.NET Framework (current version)
Reconstructs a security object with a specified state from an XML encoding.
Assembly: System (in System.dll)
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
Available since 1.1
Show: