共用方式為


SamlSecurityTokenHandler.WriteSubject(XmlWriter, SamlSubject) 方法

定義

寫入 <saml:Subject> 項目。

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

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

subject
SamlSubject

要寫入的資料。

例外狀況

subjectnull

-或-

writernull

適用於