Share via


SamlDoNotCacheCondition.WriteXml Methode

Definition

Schreibt das <saml:DoNotCacheCondition>-Element in das angegebene XML-Serialisierungsprogramm.

public:
 override void WriteXml(System::Xml::XmlDictionaryWriter ^ writer, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer);
public override void WriteXml (System.Xml.XmlDictionaryWriter writer, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer);
override this.WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
Public Overrides Sub WriteXml (writer As XmlDictionaryWriter, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer)

Parameter

writer
XmlDictionaryWriter

Ein XmlDictionaryWriter zum Schreiben des <saml:DoNotCacheCondition>-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 gleich null.

Hinweise

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

Gilt für: