共用方式為


SimpleWebSecurityTokenSerializer.WriteKeyIdentifierCore Method

Definition

Writes the specified key identifier using the specified XML writer.

protected override void WriteKeyIdentifierCore (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifier keyIdentifier);
override this.WriteKeyIdentifierCore : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifier -> unit
Protected Overrides Sub WriteKeyIdentifierCore (writer As XmlWriter, keyIdentifier As SecurityKeyIdentifier)

Parameters

writer
XmlWriter

An XmlWriter used to write the key identifier.

keyIdentifier
SecurityKeyIdentifier

A SecurityKeyIdentifier that represents the key identifier to write.

Exceptions

The binary token content is null.

Applies to