Partilhar via


SamlSecurityTokenHandler.WriteAdvice(XmlWriter, SamlAdvice) Método

Definição

Grava o elemento <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)

Parâmetros

writer
XmlWriter

O XmlWriter com o qual gravar os dados.

advice
SamlAdvice

Os dados a serem gravados.

Exceções

advice é null.

- ou -

writer é null.

Aplica-se a