Freigeben über


SamlSecurityTokenHandler.WriteAdvice(XmlWriter, SamlAdvice) Methode

Definition

Schreibt das <saml:Advice>-Element.

protected:
 virtual void WriteAdvice(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlAdvice ^ advice);
protected virtual void WriteAdvice (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlAdvice advice);
abstract member WriteAdvice : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlAdvice -> unit
override this.WriteAdvice : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlAdvice -> unit
Protected Overridable Sub WriteAdvice (writer As XmlWriter, advice As SamlAdvice)

Parameter

writer
XmlWriter

Der XmlWriter, mit dem die Daten geschrieben werden soll.

advice
SamlAdvice

Die zu schreibenden Daten.

Ausnahmen

advice ist null.

- oder -

writer ist null.

Gilt für: