Compartir a través de


Saml2SecurityTokenHandler.WriteAuthenticationContext Método

Definición

Escribe el elemento <saml:AuthnContext>.

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

Parámetros

writer
XmlWriter

Objeto XmlWriter con el que se va a escribir los datos.

data
Saml2AuthenticationContext

Datos que se van a escribir.

Excepciones

data es null.

O bien

writer es null.

Se aplica a