MetadataSerializer.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 XML writer.

data
Saml2Attribute

The Saml2 attribute.

Exceptions

writer is null.

-or-

data is null.

Applies to