System.Messaging.TMessageManager.Unsubscribe

提供: RAD Studio API Documentation
移動先: 案内検索

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 */;

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Messaging.pas
System.Messaging.hpp
System.Messaging TMessageManager


説明

指定されたリスナを、受信したメッセージから登録削除します。

関連項目