Compartir a través de


SamlAuthorityBinding.WriteXml Método

Definición

Escribe el elemento <AuthorityBinding> 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 elemento <AuthorityBinding>.

samlSerializer
SamlSerializer

SamlSerializer que es capaz de escribir los elementos XML en la aserción de SAML que se define 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