Udostępnij przez


Saml2SecurityTokenHandler.WriteAuthenticationContext Metoda

Definicja

<Zapisuje 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

Element XmlWriter , za pomocą którego mają być zapisywane dane.

data
Saml2AuthenticationContext

Dane do zapisu.

Wyjątki

data to null.

-lub-

writer to null.

Dotyczy