Edit

Share via


Saml2SecurityTokenHandler.WriteAttributeStatement Method

Definition

Writes the <saml:AttributeStatement> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2AttributeStatement

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to