Compartilhar via


SamlSerializer.WriteConditions(XmlWriter, SamlConditions) Method

Definition

Writes the <saml:Conditions> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the SamlConditions.

conditions
SamlConditions

The SamlConditions to serialize.

Exceptions

if conditions is null.

Applies to