Difference between revisions of "Midware TClientWSocket.OnBgException"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TClientWSocket -> [[Midware_TClientWSocket.OnBgException…')
(No difference)

Revision as of 07:43, 5 May 2011

Main page -> Midware component reference -> TClientWSocket -> OnBgException

Definition

property OnBgException: TBgExceptionEvent;

Description

Occurs when an exception is thrown in the background. A background exception is an exception that occurs in the middle of nowhere. It is detected at the lowest level in message handling. If not assigned and event handler, the default behaviour will be to close the socket. TBgExceptionEvent = procedure (Sender : TObject;

                              E : Exception;
                              var CanClose : Boolean) of object;