WSSecurityTokenSerializer.CanWriteTokenCore(SecurityToken) Method

Definition

Gets a value that indicates whether the token core with a specified security token can be written.

protected:
 override bool CanWriteTokenCore(System::IdentityModel::Tokens::SecurityToken ^ token);
protected override bool CanWriteTokenCore (System.IdentityModel.Tokens.SecurityToken token);
override this.CanWriteTokenCore : System.IdentityModel.Tokens.SecurityToken -> bool
Protected Overrides Function CanWriteTokenCore (token As SecurityToken) As Boolean

Parameters

token
SecurityToken

The security token.

Returns

true if the token core with the specified security token can be written; otherwise, false.

Applies to