Comparteix a través de


SamlAction.WriteXml Método

Definición

Escribe SamlAction en el escritor de XML como un elemento <saml:Action>.

public:
 virtual void WriteXml(System::Xml::XmlDictionaryWriter ^ writer, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer);
public virtual void WriteXml (System.Xml.XmlDictionaryWriter writer, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer);
abstract member WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
override this.WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
Public Overridable Sub WriteXml (writer As XmlDictionaryWriter, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer)

Parámetros

writer
XmlDictionaryWriter

XmlDictionaryWriter para escribir el elemento <saml:Action>.

samlSerializer
SamlSerializer

SamlSerializer que es capaz de escribir el elemento <saml:Action> y sus elementos y atributos secundarios que se definen en la especificación de SAML.

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer que es capaz de escribir las cláusulas KeyInfo.

Excepciones

writer es null.

O bien

samlSerializer es null.

Se aplica a