Saml2Serializer.WriteAttribute(XmlWriter, Saml2Attribute) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the <saml:Attribute> element.
public virtual void WriteAttribute (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute attribute);
abstract member WriteAttribute : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute -> unit
override this.WriteAttribute : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute -> unit
Public Overridable Sub WriteAttribute (writer As XmlWriter, attribute As Saml2Attribute)
Parameters
- writer
- XmlWriter
A XmlWriter to serialize the Saml2Attribute.
- attribute
- Saml2Attribute
The Saml2Attribute to serialize.
Exceptions
if attribute
is null.