SamlAuthorityBinding.WriteXml Method (XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer)

 

Writes the <AuthorityBinding> element into the specified XML serializer.

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

public virtual void WriteXml(
	XmlDictionaryWriter writer,
	SamlSerializer samlSerializer,
	SecurityTokenSerializer keyInfoSerializer
)

Parameters

writer
Type: System.Xml.XmlDictionaryWriter

A XmlDictionaryWriter to write the <AuthorityBinding> element.

samlSerializer
Type: System.IdentityModel.Tokens.SamlSerializer

A SamlSerializer that is capable of writing XML elements in the SAML assertion that is defined in the SAML specification.

keyInfoSerializer
Type: System.IdentityModel.Selectors.SecurityTokenSerializer

A SecurityTokenSerializer that is capable of writing KeyInfo clauses.

Exception Condition
ArgumentNullException

writer is null

-or-

samlSerializer is null

.NET Framework
Available since 3.0
Return to top
Show: