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::ToXml Method ()

.NET Framework (current version)
 

Returns the XML encoded form of the current permission and its state.

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

public:
virtual SecurityElement^ ToXml() sealed

Return Value

Type: System.Security::SecurityElement^

The XML encoded form of the current permission and its state.

The principal can be reconstructed from its XML encoded form by calling the FromXml method.

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