Sdílet prostřednictvím


SamlAuthorityBinding.WriteXml Metoda

Definice

Zapíše <AuthorityBinding> element do zadaného XML serializátoru.

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 elementu <AuthorityBinding> .

samlSerializer
SamlSerializer

Objekt SamlSerializer , který je schopen zapsat elementy XML v kontrolním výrazu SAML, který je definován ve specifikaci SAML.

keyInfoSerializer
SecurityTokenSerializer

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

Výjimky

writer je null

-nebo-

samlSerializer je null

Platí pro