SamlSerializer.WriteAttributeStatement 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:AttributeStatement> element.
protected virtual void WriteAttributeStatement (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml.SamlAttributeStatement statement);
abstract member WriteAttributeStatement : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAttributeStatement -> unit
override this.WriteAttributeStatement : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAttributeStatement -> unit
Protected Overridable Sub WriteAttributeStatement (writer As XmlWriter, statement As SamlAttributeStatement)
Parameters
- writer
- XmlWriter
A XmlWriter to serialize the SamlAttributeStatement.
- statement
- SamlAttributeStatement
The SamlAttributeStatement to serialize.
Exceptions
if statement
is null.
if Attributes.Count == 0.