Sdílet prostřednictvím


SamlAttribute.WriteXml Metoda

Definice

Zapíše atribut SAML do zadaného serializátoru XML.

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)

Parametry

writer
XmlDictionaryWriter

A XmlDictionaryWriter pro zápis atributu SAML.

samlSerializer
SamlSerializer

Objekt SamlSerializer , který je schopen psát elementy XML v kontrolním výrazu SAML.

keyInfoSerializer
SecurityTokenSerializer

A SecurityTokenSerializer , který je schopen psát KeyInfo klauzule.

Výjimky

writer je null.

-nebo-

samlSerializer je null.

Platí pro