SamlSerializer.WriteConditions(XmlWriter, SamlConditions) 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: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.