Compartilhar via


SamlAttribute.WriteXml Método

Definição

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

samlSerializer
SamlSerializer

Um SamlSerializer que é capaz de gravar elementos XML em uma asserção SAML.

keyInfoSerializer
SecurityTokenSerializer

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

Exceções

writer é null.

- ou -

samlSerializer é null.

Aplica-se a