Re: loggin on console app exit
Per Bolmstedt <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
On Mon, 28 Jan 2008 11:43:04 -0500, Peter Ritchie <[email protected]> wrote: >The AppDomain.ProcessExited is about as close as you can get. > >It's not entirely accurate, it will only notify you of normal application >exists, not abnormal terminations like an unhandled exception or when the >user forcibly terminates your application through task manager or similar. It also won't trap ^C, right? Since ^C is probably considered a legal way to end the program by most users, this may pose a problem. Is there a way to trap ^C? =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com