SamlSerializer.WriteAdvice(XmlWriter, SamlAdvice) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.