Upravit

Sdílet prostřednictvím


SecurityTokenSerializer.WriteKeyIdentifierClauseCore Method

Definition

Writes the specified key identifier clause using the specified XML writer. Called by the base class.

protected:
 abstract void WriteKeyIdentifierClauseCore(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
protected abstract void WriteKeyIdentifierClauseCore (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
abstract member WriteKeyIdentifierClauseCore : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> unit
Protected MustOverride Sub WriteKeyIdentifierClauseCore (writer As XmlWriter, keyIdentifierClause As SecurityKeyIdentifierClause)

Parameters

writer
XmlWriter

A XmlWriter to write the key identifier clause.

keyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause that represents the key identifier clause to write.

Exceptions

keyIdentifierClause is null.

-or-

writer is null.

Remarks

Classes that derive from the SecurityTokenSerializer class must override the WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) method. The WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause) method calls the WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) method.

Applies to