Sdílet prostřednictvím


SamlAction.WriteXml Metoda

Definice

Zapíše objekt SamlAction do zadaného zapisovače XML jako <saml:Action> prvek.

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)

Parametry

writer
XmlDictionaryWriter

A XmlDictionaryWriter pro zápis elementu <saml:Action> .

samlSerializer
SamlSerializer

Objekt SamlSerializer , který je schopen zapsat <saml:Action> element a jeho podřízené elementy a atributy, které jsou definovány ve specifikaci SAML.

keyInfoSerializer
SecurityTokenSerializer

A SecurityTokenSerializer , který je schopen psát KeyInfo klauzule.

Výjimky

writer je null.

-nebo-

samlSerializer je null.

Platí pro