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

适用于