共用方式為


SecurityTokenHandler.CanWriteToken Property

Definition

Gets a value indicating whether the class provides serialization functionality to serialize token handled by this instance.

public virtual bool CanWriteToken { get; }
member this.CanWriteToken : bool
Public Overridable ReadOnly Property CanWriteToken As Boolean

Property Value

true if the WriteToken method can serialize this token.

Applies to