Saml2SecurityTokenHandler.WriteAttribute(XmlWriter, Saml2Attribute) Method

Definition

Writes the <saml:Attribute> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2Attribute

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to