Datasnap.Win.SConnect.TStreamedConnection.DoError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoError(E: Exception); virtual;

C++

virtual void __fastcall DoError(System::Sysutils::Exception* E);

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 a specified exception object.

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. The connection component uses DoError to raise those exceptions.

Note: DoError is called by the ThreadException method, which is the message handler for thread exceptions. It is also called when thread exception messages are taken from the message queue before they are received by the internal window procedure.

See Also