Udostępnij za pośrednictwem


SamlAuthorityBinding.WriteXml Metoda

Definicja

<AuthorityBinding> Zapisuje element w określonym serializatorze 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 do zapisania <AuthorityBinding> elementu.

samlSerializer
SamlSerializer

Element SamlSerializer , który może pisać elementy XML w asercji SAML zdefiniowanej w specyfikacji SAML.

keyInfoSerializer
SecurityTokenSerializer

Element SecurityTokenSerializer , który jest w stanie pisać KeyInfo klauzule.

Wyjątki

writer to null

-lub-

samlSerializer to null

Dotyczy