FireDAC.Comp.Client.TFDCustomManager.BeforeShutdown

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomManager

Delphi

property BeforeShutdown: TNotifyEvent read FBeforeShutdown write FBeforeShutdown;

C++

__property System::Classes::TNotifyEvent BeforeShutdown = {read=FBeforeShutdown, write=FBeforeShutdown};

Description

This event is fired before the manager is finished.

The BeforeShutdown event is fired before the FireDAC manager is terminated. 

Note: To avoid possible deadlock, a multi-threaded application can close the connections open in the background threads by calling the BeforeShutdown event handler.

See Also