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.
ClaimsPrincipalPermission::FromXml Method (SecurityElement^)
.NET Framework (current version)
Reconstructs the current permission and its state from the specified XML encoding.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
Parameters
- element
-
Type:
System.Security::SecurityElement^
The XML encoding to use to reconstruct the permission.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. |
| InvalidOperationException | The encoding contains unrecognized elements or attributes or improperly formed XML. |
.NET Framework
Available since 4.5
Available since 4.5
Show: