Freigeben über


ClaimsPrincipalPermission.ToXml Method

Returns the XML encoded form of the current instance.

Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim instance As ClaimsPrincipalPermission
Dim returnValue As SecurityElement

returnValue = instance.ToXml

Syntax

'Declaration
Public Function ToXml As SecurityElement
public SecurityElement ToXml ()
public:
virtual SecurityElement^ ToXml () sealed
public final SecurityElement ToXml ()
public final function ToXml () : SecurityElement

Rückgabewert

The XML encoded form of the current instance.

Ausnahmen

Ausnahmetyp Bedingung

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ClaimsPrincipalPermission Class
ClaimsPrincipalPermission Members
Microsoft.IdentityModel.Claims Namespace