What are the reasons Process.HasExited can throw InvalidOperationException?

Posted by Robert Davis on Stack Overflow See other posts from Stack Overflow or by Robert Davis
Published on 2010-04-08T20:39:53Z Indexed on 2010/04/08 20:43 UTC
Read the original article Hit count: 275

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET