Partager via


SamlSerializer.WriteAuthorityBinding(XmlWriter, SamlAuthorityBinding) Method

Definition

Writes the <AuthorityBinding> element.

protected virtual void WriteAuthorityBinding (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml.SamlAuthorityBinding authorityBinding);
abstract member WriteAuthorityBinding : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAuthorityBinding -> unit
override this.WriteAuthorityBinding : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAuthorityBinding -> unit
Protected Overridable Sub WriteAuthorityBinding (writer As XmlWriter, authorityBinding As SamlAuthorityBinding)

Parameters

writer
XmlWriter

A XmlWriter to serialize the SamlAuthenticationStatement.

authorityBinding
SamlAuthorityBinding

The SamlAuthorityBinding to serialize.

Exceptions

if authorityBinding is null.

Applies to