Datasnap.Win.MConnect.TDispatchConnection.Notification
Delphi
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
C++
virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Win.MConnect.pas Datasnap.Win.MConnect.hpp |
Datasnap.Win.MConnect | TDispatchConnection |
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.