Returns the XML encoded form of the current instance.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsPrincipalPermission
Dim returnValue As SecurityElement

returnValue = instance.ToXml

Syntax

Visual Basic
Public Function ToXml As SecurityElement
C#
public SecurityElement ToXml ()
C++
public:
virtual SecurityElement^ ToXml () sealed
J#
public final SecurityElement ToXml ()
JScript
public final function ToXml () : SecurityElement

Return Value

The XML encoded form of the current instance.

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also