Share via


Saml2Serializer.WriteConditions(XmlWriter, Saml2Conditions) Method

Definition

Writes the <saml:Conditions> element.

protected virtual void WriteConditions (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Conditions conditions);
abstract member WriteConditions : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Conditions -> unit
override this.WriteConditions : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Conditions -> unit
Protected Overridable Sub WriteConditions (writer As XmlWriter, conditions As Saml2Conditions)

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2Conditions.

conditions
Saml2Conditions

The Saml2Conditions to serialize.

Exceptions

if conditions is null.

Applies to