Udostępnij za pośrednictwem


SamlSecurityTokenHandler.WriteAdvice(XmlWriter, SamlAdvice) Metoda

Definicja

Zapisuje <element 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)

Parametry

writer
XmlWriter

Element XmlWriter , za pomocą którego mają być zapisywane dane.

advice
SamlAdvice

Dane do zapisu.

Wyjątki

advice to null.

-lub-

writer to null.

Dotyczy