Condividi tramite


SamlAction.WriteXml Metodo

Definizione

Scrive SamlAction nel writer XML specificato come 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)

Parametri

writer
XmlDictionaryWriter

XmlDictionaryWriter che scrive l'elemento <saml:Action>.

samlSerializer
SamlSerializer

Classe SamlSerializer in grado di scrivere l'elemento <saml:Action> e i relativi elementi figlio e attributi definiti nella specifica SAML.

keyInfoSerializer
SecurityTokenSerializer

Classe SecurityTokenSerializer in grado di scrivere clausole KeyInfo.

Eccezioni

writer è null.

-oppure-

samlSerializer è null.

Si applica a