Link to home
Start Free TrialLog in
Avatar of MRS
MRSFlag for United States of America

asked on

What type of exception is thrown in .NET when a process is killed via task manager?

What type of exception is thrown in .NET when a process is killed via task manager?  I need to be able to differential when a process is killed vs. when a normal exception occurs.

Thanks in advance..
Avatar of kaufmed
kaufmed
Flag of United States of America image

What exception? Killing a process is killing a process.
Put another way.  When killed via task manager no exception is thrown.  (Also if a program finishing via an execution is normal then you ought to have serious words with your programmers.  Exceptions are thrown when something critically bad and unexpected happens.)
ASKER CERTIFIED SOLUTION
Avatar of louisfr
louisfr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MRS

ASKER

Thanks