System diagnostic error in C#
System.Diagnostics.Process androidProcess = new System.Diagnostics.Process();
 androidProcess.StartInfo = androidInstallInfo;

I want to create object(androidProcess) but it is giving so many exceptions these are:- 
ExitCode = 'androidProcess.ExitCode' threw an exception of type System.InvalidOperationException'
ExitTime = 'androidProcess.ExitTime' threw an exception of type 'System.InvalidOperationException' and so many so why these are occurring and how I can stop this.

Thanx in Advance
System diagnostic error in C#
===

System.Diagnostics.Process androidProcess = new System.Diagnostics.Process();
 androidProcess.StartInfo = androidInstallInfo;

I want to create object(androidProcess) but it is giving so many exceptions these are:- 
ExitCode = 'androidProcess.ExitCode' threw an exception of type System.InvalidOperationException'
ExitTime = 'androidProcess.ExitTime' threw an exception of type 'System.InvalidOperationException' and so many so why these are occurring and how I can stop this.

Thanx in Advance