Partager via


SamlSecurityTokenHandler.WriteAdvice(XmlWriter, SamlAdvice) Méthode

Définition

Écrit l’élément <saml:Advice>.

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)

Paramètres

writer
XmlWriter

XmlWriter à l'aide duquel écrire les données.

advice
SamlAdvice

Données à écrire.

Exceptions

advice a la valeur null.

-ou-

writer a la valeur null.

S’applique à