SamlSerializer.WriteAction(XmlWriter, SamlAction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.