Partilhar via


Saml2SecurityTokenHandler.WriteAuthenticationContext Método

Definição

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

O XmlWriter com o qual gravar os dados.

data
Saml2AuthenticationContext

Os dados a serem gravados.

Exceções

data é null.

- ou -

writer é null.

Aplica-se a