What are the reasons Process.HasExited can throw InvalidOperationException?
- by Robert Davis
I'm seeing a System.Diagnositics.Process.HasExited method throw an InvalidOperationException but the message text property is not terribly useful as to why it was thrown. Under what conditions does this exception get thrown?