Share via


SamlSerializer.WriteAttributeStatement Method

Definition

Writes the <saml:AttributeStatement> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the SamlAttributeStatement.

statement
SamlAttributeStatement

The SamlAttributeStatement to serialize.

Exceptions

if statement is null.

Applies to