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.

ClaimsPrincipalPermission::FromXml Method (SecurityElement^)

.NET Framework (current version)
 

Reconstructs the current permission and its state from the specified XML encoding.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public:
virtual void FromXml(
	SecurityElement^ element
) sealed

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.

Reconstructs a permission from the XML encoding created by a call to the ToXml method.

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