Re: loggin on console app exit
Mike Andrews <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
I believe you can use the AppDomain's ProcessExit event.. System.AppDomain.CurrentDomain.ProcessExit or if using a WinForm app Application.ApplicationExit On Jan 28, 2008 10:44 AM, chris Burgess <[email protected]> wrote: > Is there a way to setup an 'exit' event for a console application so > that I can write to a log before the app terminates? > > Thanks! > > Chris > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com