Redigera

Dela via


Saml2SecurityTokenHandler.WriteAdvice(XmlWriter, Saml2Advice) Method

Definition

Writes the <saml:Advice> element.

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)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2Advice

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to