Discuss this help topic in MsgConnect Forum

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



MCTimeoutProc

See also    


Application-defined function that is called when timeout expires.

Declaration

[C++]
    void (*MCTimeoutProc)(void* resvd, unsigned long UserData, MCMessage& Message);

[Pascal]
    TMCTimeoutProc = procedure ( UserData : Cardinal; var Message : TMCMessage);

[VB6]
    Event OnTimeout(Message As IMCXMessage)

[ActiveX]
    HRESULT IMCXMessengerEvents2.OnTimeout([in] IMCXMessage * Message );

[C#]
    public delegate void MCTimeoutProc(int UserData, out MCMessage Message);

[VB.NET]
    Public Delegate Sub MCTimeoutProc(ByVal UserData As Object, ByRef Message As MCMessage)

[Java]
    public interface MCTimeoutProc { public void timeoutProc(long userData, MCMessage message);}

[Java ME]
    public interface MCTimeoutProc { public void timeoutProc(long userData, MCMessage message);}

[DLL]
    void (__stdcall *MCTimeoutProc)(unsigned long UserData, MCMessage* Message);

Parameters

  • UserData - Application-defined parameter that was set in SendMessageCallback function.
  • Message - The message that was sent and reply to which was received. See more here

Description

    This function is called by Messenger when the message expires and reply has not been received.UserData parameter is set by the application and in object-oriented environments can contains the pointer to the object instance.

Discuss this help topic in MsgConnect Forum