Partager via


Saml2Serializer.WriteAttributeStatement Method

Definition

Writes the <saml:AttributeStatement> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2AttributeStatement.

statement
Saml2AttributeStatement

The Saml2AttributeStatement to serialize.

Exceptions

if statement is null.

Applies to