AFAIK that's not possible with Application.Exit, but seeing as you return non-0 from Environment.Exit, we should be good.