SamlSerializer.WriteStatement(XmlWriter, SamlStatement) Method

Definition

Writes one of the suppported Statements.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the SamlStatement.

statement
SamlStatement

The SamlStatement to serialize.

Exceptions

if statement is null.

Applies to