VSTS デバッガーを使用して class のインスタンスのプロパティを表示するとProcess、多くのプロパティが でマークされInvalidOperationExceptionます。なんで?私は何か間違ったことをしていますか?
VSTS 2008 + C# + .Net 2.0 を使用してコンソール アプリケーションを開発しています。
これが私のコードです:
System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
myProcess.StartInfo.FileName = "IExplore.exe";
myProcess.StartInfo.Arguments = @"www.google.com";
myProcess.StartInfo.Verb = "runas";
myProcess.Start();
デバッガーのスクリーンショット:
