Compartir a través de


SamlAttribute.WriteXml Método

Definición

Escribe el atributo SAML en el serializador XML especificado.

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 atributo SAML.

samlSerializer
SamlSerializer

SamlSerializer que es capaz de escribir elementos XML en una aserció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