SamlSerializer.WriteAuthorityBinding(XmlWriter, SamlAuthorityBinding) 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 <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.
if Location is null or empty.