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

适用于