SamlSecurityTokenHandler.WriteAttribute(XmlWriter, SamlAttribute) Method

Definition

Writes the <saml:Attribute> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

attribute
SamlAttribute

The data to write.

Exceptions

attribute is null.

-or-

writer is null.

Applies to