共用方式為


Saml2SecurityTokenHandler.WriteAdvice(XmlWriter, Saml2Advice) 方法

定義

寫入 <saml:Advice> 項目。

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

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

data
Saml2Advice

要寫入的資料。

例外狀況

datanull

-或-

writernull

適用於