Partilhar via


SamlAuthorityBinding.WriteXml Método

Definição

Grava o elemento <AuthorityBinding> no 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

Um XmlDictionaryWriter para gravar o elemento <AuthorityBinding>.

samlSerializer
SamlSerializer

Um SamlSerializer que é capaz de gravar elementos XML na declaração SAML que é definida na especificação de SAML.

keyInfoSerializer
SecurityTokenSerializer

Um SecurityTokenSerializer que é capaz de gravar cláusulas KeyInfo.

Exceções

writer é null

- ou -

samlSerializer é null

Aplica-se a