Datasnap.DSClientRest.TDSRestClientChannel.OnDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Unit: Datasnap.DSClientRest
Parent: TDSRestClientChannel

Delphi

property OnDisconnect: TNotifyEvent read FOnDisconnect write FOnDisconnect;

C++

__property System::Classes::TNotifyEvent OnDisconnect = {read=FOnDisconnect, write=FOnDisconnect};


Description

Occurs when disconnecting the client channel from the server.

Write an OnDisconnect event handler to provide further functionality when disconnecting the client channel from the server.