共用方式為


SecurityTokenSerializer.WriteKeyIdentifierClauseCore 方法

定義

使用指定的 XML 寫入器,寫入指定的金鑰識別碼子句。 由基底類別呼叫。

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)

參數

writer
XmlWriter

要將金鑰識別碼子句寫入的 XmlWriter

keyIdentifierClause
SecurityKeyIdentifierClause

SecurityKeyIdentifierClause,表示要寫入的金鑰識別碼子句。

例外狀況

keyIdentifierClausenull

-或-

writernull

備註

衍生自 SecurityTokenSerializer 類別的類別必須覆寫 WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) 方法。 WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause) 方法會呼叫 WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) 方法。

適用於