Sdílet prostřednictvím


Saml2SecurityTokenHandler.WriteAuthenticationContext Metoda

Definice

Zapíše <saml:AuthnContext> element.

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

Pomocí XmlWriter kterého chcete zapsat data.

data
Saml2AuthenticationContext

Data, která se mají zapsat.

Výjimky

data je null.

-nebo-

writer je null.

Platí pro