Difference between revisions of "Midware TClientWSocket.OnBgException"
Jump to navigation
Jump to search
(Created page with ' Main page -> Midware component reference -> TClientWSocket -> [[Midware_TClientWSocket.OnBgException…') |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Definition == | == Definition == | ||
+ | <syntaxhighlight lang="delphi"> | ||
+ | type | ||
+ | TBgExceptionEvent = procedure (Sender : TObject; | ||
+ | E : Exception; | ||
+ | var CanClose : Boolean) of object; | ||
− | + | property OnBgException : TBgExceptionEvent; | |
+ | </syntaxhighlight> | ||
== Description == | == Description == | ||
+ | |||
+ | 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. | ||
Occurs when an exception is thrown in the background. | Occurs when an exception is thrown in the background. | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 07:57, 14 May 2011
Main page -> Midware component reference -> TClientWSocket -> OnBgException
Definition
<syntaxhighlight lang="delphi"> type TBgExceptionEvent = procedure (Sender : TObject;
E : Exception; var CanClose : Boolean) of object;
property OnBgException : TBgExceptionEvent; </syntaxhighlight>
Description
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.
Occurs when an exception is thrown in the background.