Прочетете на английски Редактиране

Споделяне чрез


SamlAction.WriteXml Method

Definition

Writes the SamlAction into the specified XML writer as a <saml:Action> element.

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 <saml:Action> element.

samlSerializer
SamlSerializer

A SamlSerializer that is capable of writing the <saml:Action> element and its child elements and attributes that are 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

Продукт Версии
.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