Bewerken

Delen via


WSSecurityTokenSerializer.WriteKeyIdentifierCore Method

Definition

Writes the key identifier core with a specified key identifier clause using the specified XmlWriter.

protected:
 override void WriteKeyIdentifierCore(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ keyIdentifier);
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

The specified XmlWriter.

keyIdentifier
SecurityKeyIdentifier

The security key identifier clause.

Exceptions

An error occurred when serializing the key identifier.

The key identifier was not successfully written.

Applies to