Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.WriteAuthorityBinding Method

.NET Framework 4.6 and 4.5

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.

ExceptionCondition
ArgumentNullException

authorityBinding is null.

-or-

writer is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft