共用方式為


SamlSecurityTokenHandler.WriteSubjectKeyInfo 方法

定義

使用指定的 XML 寫入器將 Subject <ds:KeyInfo> 項目序列化。

protected:
 virtual void WriteSubjectKeyInfo(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ subjectSki);
protected virtual void WriteSubjectKeyInfo (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifier subjectSki);
abstract member WriteSubjectKeyInfo : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifier -> unit
override this.WriteSubjectKeyInfo : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifier -> unit
Protected Overridable Sub WriteSubjectKeyInfo (writer As XmlWriter, subjectSki As SecurityKeyIdentifier)

參數

writer
XmlWriter

用來序列化金鑰識別項的 XmlWriter

subjectSki
SecurityKeyIdentifier

SecurityKeyIdentifier,表示要寫入的金鑰識別碼。

例外狀況

subjectSkinull

-或-

writernull

適用於