Muokkaa

Jaa


SamlSecurityTokenHandler.WriteAdvice(XmlWriter, SamlAdvice) Method

Definition

Writes the <saml:Advice> element.

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)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

advice
SamlAdvice

The data to write.

Exceptions

advice is null.

-or-

writer is null.

Applies to