Discuss this help topic in MsgConnect Forum

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



Messenger.ThreadID

Messenger    


Contains an ID ([Java] reference to the thread) of the Messenger's thread.

Declaration

[C++]
    unsigned long getThreadID();

[Pascal]
    property ThreadID : Cardinal;

[VB6]
    not implemented;

[ActiveX]
    HRESULT _stdcall ThreadID([out, retval] unsigned long * Value );

[C#]
    public Thread ThreadID_net;

[VB.NET]
    Public ReadOnly Property ThreadID_net As Thread

[Java]
    not implemented;

[Java ME]
    not implemented;

[DLL]
    unsigned long __stdcall MCMessengerGetThreadID(HMCMessenger h);

Parameters

  • h - handle to the object that was returned by Create method

Description

    This property contains an ID ([Java] reference to the thread) of the Messenger's thread. This is the thread in which Messenger was created. Note, that you can create a messenger in one thread and use it in another thread.

Discuss this help topic in MsgConnect Forum