System.Messaging.TMessageManager.Unsubscribe
Delphi
procedure Unsubscribe(const AMessageClass: TClass; Id: TMessageSubscriptionId; Immediate: Boolean = False); overload; virtual;
procedure Unsubscribe(const AMessageClass: TClass; const AListener: TMessageListener; Immediate: Boolean = False); overload; virtual;
procedure Unsubscribe(const AMessageClass: TClass; const AListenerMethod: TMessageListenerMethod; Immediate: Boolean = False); overload; virtual;
C++
virtual void __fastcall Unsubscribe(const System::TClass AMessageClass, TMessageSubscriptionId Id, bool Immediate = false)/* overload */;
virtual void __fastcall Unsubscribe(const System::TClass AMessageClass, const _di_TMessageListener AListener, bool Immediate = false)/* overload */;
virtual void __fastcall Unsubscribe(const System::TClass AMessageClass, const TMessageListenerMethod AListenerMethod, bool Immediate = false)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | System.Messaging.pas System.Messaging.hpp |
System.Messaging | TMessageManager |
Beschreibung
Beendet das Botschafts-Abonnement eines angegebenen Empfängers.