System.Messaging.TMessageManager.Unsubscribe

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Unsubscribe(const AMessageClass: TClass; Id: Integer; Immediate: Boolean = False); overload;
procedure Unsubscribe(const AMessageClass: TClass; const AListener: TMessageListener; Immediate: Boolean = False); overload;
procedure Unsubscribe(const AMessageClass: TClass; const AListenerMethod: TMessageListenerMethod; Immediate: Boolean = False); overload;

C++

void __fastcall Unsubscribe(const System::TClass AMessageClass, int Id, bool Immediate = false)/* overload */;
void __fastcall Unsubscribe(const System::TClass AMessageClass, const _di_TMessageListener AListener, bool Immediate = false)/* overload */;
void __fastcall Unsubscribe(const System::TClass AMessageClass, const TMessageListenerMethod AListenerMethod, bool Immediate = false)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Messaging.pas
System.Messaging.hpp
System.Messaging TMessageManager

Description

Unsubscribes a specified listener from receiving messages.

See Also