George George

George George

  • NA
  • 778
  • 0

Environment.Exit

Apr 27 2008 10:40 AM

Hello everyone,


When we call Environment.Exit to terminates a console application or a Windows service,

1.

All the expected finally blocks are ensured to be executed, so resource leak?

2.

No exception occured (i.e. when invoking Environment.Exit, no exception thrown, like invoking Thread.Abort will throw ThreadAbortException?)


thanks in advance,
George