Partager via


SamlAttribute.WriteXml Méthode

Définition

Écrit l'attribut SAML dans le sérialiseur XML spécifié.

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)

Paramètres

writer
XmlDictionaryWriter

XmlDictionaryWriter pour écrire l'attribut SAML.

samlSerializer
SamlSerializer

Objet SamlSerializer qui est capable d'écrire des éléments XML dans une assertion SAML.

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer qui est capable d'écrire des clauses KeyInfo.

Exceptions

writer a la valeur null.

-ou-

samlSerializer a la valeur null.

S’applique à