0

I don't get this.. I was able to use it the other day without issue, but now when I use it, the "message" that I put into the paramater doesn't get printed out to the console, and I get an error box saying "Program has stopped working. Windows is checking for a solution to the problem."

I can click "Close program" and it will go away, but its as if the FailFast method just isn't working as advertised.

I'm envoking it as follows: Environment.FailFast("Error!"); The string "Error!" doesn't get printed out, and I get that crash dialogue box.

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by agent154
0

Nevermind... I don't know why it somehow worked before, or if I'm just foolish, but from what i understand, its not supposed to have a clean exit.. so I'm using Environment.Exit() instead.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.