Freigeben über


SamlConditions.WriteXml Methode

Definition

Schreibt das <saml:Conditions>-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 <saml:Conditions>-Elements.

samlSerializer
SamlSerializer

Ein SamlSerializer, der XML-Elemente in eine SAML-Assertion schreiben kann.

keyInfoSerializer
SecurityTokenSerializer

Ein SecurityTokenSerializer, der KeyInfo-Klauseln schreiben kann.

Ausnahmen

writer ist gleich null.

- oder -

samlSerializer ist null.

Hinweise

Verwenden Sie die WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer)-Methode, um die aktuelle SamlConditions-Instanz in ein <saml:Conditions>-Element zu schreiben.

Gilt für: