Saml2Serializer.WriteAdvice(XmlWriter, Saml2Advice) 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.Saml2.Saml2Advice advice);
abstract member WriteAdvice : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice -> unit
override this.WriteAdvice : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice -> unit
Protected Overridable Sub WriteAdvice (writer As XmlWriter, advice As Saml2Advice)
Parameters
- writer
- XmlWriter
A XmlWriter to serialize the Saml2Advice.
- advice
- Saml2Advice
The Saml2Advice to serialize.
Exceptions
if advice
is null.