共用方式為


Saml2SecurityTokenHandler.WriteSubject(XmlWriter, Saml2Subject) 方法

定義

寫入 <saml:Subject> 項目。

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

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

data
Saml2Subject

要寫入的資料。

例外狀況

datanull

-或-

writernull

適用於