Indicates whether the class provides serialization functionality to serialize token handled by this instance.
Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As EncryptedSecurityTokenHandler
Dim value As Boolean

value = instance.CanWriteToken

Syntax

Visual Basic
Public Overrides ReadOnly Property CanWriteToken As Boolean
C#
public override bool CanWriteToken { get; }
C++
public:
virtual property bool CanWriteToken {
		bool get () override;
}
J#
/** @property */
public boolean get_CanWriteToken ()
JScript
public override function get CanWriteToken () : boolean

Property Value

true if the WriteToken method can serialize this token.

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