Datasnap.Win.MConnect.TDispatchConnection.Notification

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Unit: Datasnap.Win.MConnect
Parent: TDispatchConnection

Delphi

procedure Notification(AComponent: TComponent; Operation: TOperation); override;

C++

virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);

Description

Responds when other objects are created or destroyed.

Notification is called automatically so objects can make internal adjustments when components are created or destroyed. TDispatchConnection overrides the inherited method to set the ObjectBroker property to nil (Delphi) or NULL (C++) when it receives notification that that object is about to be destroyed.

See Also