API:FireDAC.Comp.Client.TFDManager.BeforeShutdown

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property BeforeShutdown;

C++

__property BeforeShutdown;

Description

This event is fired before the manager is finished.

FireDAC.Comp.Client.TFDManager.BeforeShutdown inherits from FireDAC.Comp.Client.TFDCustomManager.BeforeShutdown. All content below this line refers to FireDAC.Comp.Client.TFDCustomManager.BeforeShutdown.

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