Saml2SecurityTokenHandler.WriteAuthenticationContext Metoda

Definice

Zapíše <element 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)

Parametry

writer
XmlWriter

To XmlWriter , s jakým se mají data zapisovat.

data
Saml2AuthenticationContext

Data, která se mají zapisovat.

Výjimky

data je null.

nebo

writer je null.

Platí pro