Datasnap.Win.SConnect.TStreamedConnection.ThreadException
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp
| |
Unit: Datasnap.Win.SConnect | |
Parent: TStreamedConnection |
Delphi
procedure ThreadException(var Message: TMessage); message THREAD_EXCEPTION;
C++
MESSAGE void __fastcall ThreadException(Winapi::Messages::TMessage &Message);
Description
raises an exception for the thread that communicates with the application server.
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.