Datasnap.DSSession.TDSSessionEvent
Delphi
TDSSessionEvent = reference to procedure(Sender: TObject;
const EventType: TDSSessionEventType;
const Session: TDSSession);
C++
__interface TDSSessionEvent : public System::IInterface
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
anonMethod class |
public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | Datasnap.DSSession |
Description
User event for notification of session events, such as Create and Terminate.
The EventType parameter specifies what changes happen to the session, while the Session parameter specifies the session to which the changes apply. The session itself could be in a partially invalid state (for example, if type is SessionClose).