Compartilhar via


Saml2SecurityTokenHandler.WriteAdvice(XmlWriter, Saml2Advice) Método

Definição

Grava o elemento <saml:Advice>.

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

Parâmetros

writer
XmlWriter

O XmlWriter com o qual gravar os dados.

data
Saml2Advice

Os dados a serem gravados.

Exceções

data é null.

- ou -

writer é null.

Aplica-se a