SamlSecurityTokenHandler.WriteAuthorityBinding Method (XmlWriter, SamlAuthorityBinding)

.NET Framework (current version)
 

Writes the <saml:AuthorityBinding> element.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual void WriteAuthorityBinding(
	XmlWriter writer,
	SamlAuthorityBinding authorityBinding
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

authorityBinding
Type: System.IdentityModel.Tokens.SamlAuthorityBinding

The data to write.

Exception Condition
ArgumentNullException

authorityBinding is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show: