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

Usage

Visual Basic
Dim dictionaryWriter As XmlDictionaryWriter
Dim dictionary As SessionDictionary
Dim principal As IClaimsPrincipal

Me.WritePrincipal(dictionaryWriter, dictionary, principal)

Syntax

Visual Basic
Protected Overridable Sub WritePrincipal ( _
		dictionaryWriter As XmlDictionaryWriter, _
		dictionary As SessionDictionary, _
		principal As IClaimsPrincipal _
)
C#
protected virtual void WritePrincipal (
		XmlDictionaryWriter dictionaryWriter,
		SessionDictionary dictionary,
		IClaimsPrincipal principal
)
C++
protected:
virtual void WritePrincipal (
		XmlDictionaryWriter^ dictionaryWriter, 
		SessionDictionary^ dictionary, 
		IClaimsPrincipal^ principal
)
J#
protected void WritePrincipal (
		XmlDictionaryWriter dictionaryWriter, 
		SessionDictionary dictionary, 
		IClaimsPrincipal principal
)
JScript
protected function WritePrincipal (
		dictionaryWriter : XmlDictionaryWriter, 
		dictionary : SessionDictionary, 
		principal : IClaimsPrincipal
)

Parameters

dictionaryWriter
dictionary
principal

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