Sets a period to wait for the associated process to exit.
Instructs the Process component to wait the specified number of milliseconds for the associated process to exit.
[Visual Basic] Overloads Public Function WaitForExit(Integer) As Boolean
[C#] public bool WaitForExit(int);
[C++] public: bool WaitForExit(int);
[JScript] public function WaitForExit(int) : Boolean;
Instructs the Process component to wait indefinitely for the associated process to exit.
[Visual Basic] Overloads Public Sub WaitForExit()
[C#] public void WaitForExit();
[C++] public: void WaitForExit();
[JScript] public function WaitForExit();
Process Class | Process Members | System.Diagnostics Namespace