共用方式為


SamlSecurityTokenHandler.WriteAdvice(XmlWriter, SamlAdvice) 方法

定義

寫入 <saml:Advice> 項目。

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

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

advice
SamlAdvice

要寫入的資料。

例外狀況

advicenull

-或-

writernull

適用於