Midware TAppServer.OnServerBgException

From Overbyte
Revision as of 14:13, 2 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TAppServer -> [[Midware_TAppServer.OnServerBgException | OnS…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main page -> Midware component reference -> TAppServer -> OnServerBgException

Definition

property OnServerBgException: TAppServerBgExceptionEvent;

Description

The OnBgException event is triggered when an exception occurs in the background (occuring in an event handler called from the message pump). If not handled, those exceptions are simply ignored. It is interesting to handle this exception, at least to record it to some log file. It may happend that some exception affect winsock in such a way that no client is able to connect again. You can Stop and Start the server to solve that problem.