Datasnap.Win.SConnect.TStreamedConnection.ThreadException
Delphi
procedure ThreadException(var Message: TMessage); message THREAD_EXCEPTION;
C++
MESSAGE void __fastcall ThreadException(Winapi::Messages::TMessage &Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TStreamedConnection |
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.