Op Englesch liesen Editéieren

Deelen iwwer


SamlAuthorityBinding.WriteXml Method

Definition

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

C#
public virtual void WriteXml(System.Xml.XmlDictionaryWriter writer, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer);

Parameters

writer
XmlDictionaryWriter

A XmlDictionaryWriter to write the <AuthorityBinding> element.

samlSerializer
SamlSerializer

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

keyInfoSerializer
SecurityTokenSerializer

A SecurityTokenSerializer that is capable of writing KeyInfo clauses.

Exceptions

writer is null

-or-

samlSerializer is null

Applies to

Produkt Versiounen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1