Freigeben über


SamlAuthorityBinding.WriteXml Methode

Definition

Schreibt das <AuthorityBinding>-Element in das angegebene XML-Serialisierungsprogramm.

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)

Parameter

writer
XmlDictionaryWriter

Ein XmlDictionaryWriter zum Schreiben des <AuthorityBinding>-Elements.

samlSerializer
SamlSerializer

Ein SamlSerializer, der XML-Elemente in die SAML-Assertion schreiben kann, die in der SAML-Spezifikation angegeben ist.

keyInfoSerializer
SecurityTokenSerializer

Ein SecurityTokenSerializer, der KeyInfo-Klauseln schreiben kann.

Ausnahmen

writer ist gleich null.

- oder -

samlSerializer ist gleich null.

Gilt für: