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