Sdílet prostřednictvím


Saml2SecurityTokenHandler.WriteAdvice(XmlWriter, Saml2Advice) Metoda

Definice

Zapíše <saml:Advice> element.

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)

Parametry

writer
XmlWriter

Hodnota XmlWriter , pomocí které se mají zapisovat data.

data
Saml2Advice

Data k zápisu.

Výjimky

data je null.

-nebo-

writer je null.

Platí pro