Share via


SamlSerializer.WriteAdvice(XmlWriter, SamlAdvice) Method

Definition

Writes the <saml:Advice> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the SamlAdvice.

advice
SamlAdvice

The SamlAdvice to serialize.

Exceptions

if advice is null.

Applies to