EldoS
MsgConnect home / Documentation / MessageHandler.Destroy method
Navigation
Web site
Support
Table Of Contents

Filter: C++  Pascal  ActiveX  C#  VB.NET  Java SE  Java ME  Palm  DLL 


MessageHandler.Destroy

MessageHandler     See also    


Disposes of the MessageHandler object.

Declaration

[C++]
    ~MCMessageHandler();

[Pascal]
    destructor Destroy;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    void Dispose();

[VB.NET]
    Public Sub Dispose();

[Java]
    not applicable;

[Java ME]
    not applicable;

[Palm]
    not applicable;

[DLL]
    void __stdcall MCMessageHandlerDestroy(HMCQueue h);

Parameters

  • h - handle to the MessageHandler object that was returned by MessageHandlers.Add method

Description

    Use this method to dispose of MessageHandler object. Usually it is not necessary to destroy MessageHandler objects manually -- the queue will do this for you when destroyed. However if you do wish to delete the handler immediately, you can use this method.

    Note: you should not destroy an object from OnMessage event handler.

See also:     OnMessage    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation