Freigeben über


SamlSerializer.WriteAction(XmlWriter, SamlAction) Method

Definition

Writes the <saml:Action> element.

protected virtual void WriteAction (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml.SamlAction action);
abstract member WriteAction : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAction -> unit
override this.WriteAction : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlAction -> unit
Protected Overridable Sub WriteAction (writer As XmlWriter, action As SamlAction)

Parameters

writer
XmlWriter

A XmlWriter to serialize the SamlAction.

action
SamlAction

The SamlAction to serialize.

Exceptions

if action is null.

Applies to