共用方式為


SecurityTokenSerializer.WriteKeyIdentifierClause 方法

定義

使用指定的 XML 寫入器,寫入指定的金鑰識別碼子句。

public:
 void WriteKeyIdentifierClause(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public void WriteKeyIdentifierClause (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
member this.WriteKeyIdentifierClause : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> unit
Public Sub WriteKeyIdentifierClause (writer As XmlWriter, keyIdentifierClause As SecurityKeyIdentifierClause)

參數

writer
XmlWriter

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

keyIdentifierClause
SecurityKeyIdentifierClause

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

例外狀況

keyIdentifierClausenull

-或-

writernull

備註

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

適用於