Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Session.AfterDisconnect Event

Occurs when a connection to a database is closed.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public event SessionManipulationEventHandler AfterDisconnect

Event Data

The AfterDisconnect event's data class is SessionManipulationEventArgs. The following properties provide information specific to this event:

Property Description
Session Gets the session currently being processed.

Remarks

To disconnect a session from a database use the Session.Disconnect method. After the connection has been closed, the AfterDisconnect event is raised. The event parameter’s SessionManipulationEventArgs.Session property identifies the processed session.

See Also