RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.ThreadException Method

raises an exception for the thread that communicates with the application server.

Pascal
procedure ThreadException(var Message: TMessage); message THREAD_EXCEPTION;
C++
__fastcall ThreadException(TMessage Message);

TStreamedConnection uses a separate thread when making interface calls to the application server. When that thread encounters an exception, it sends a message to the Window handle specified by the Handle property. ThreadException is the message handler for that Windows message. It raises an exception in the main execution thread. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!