NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Process.WaitForExit

Sets a period to wait for the associated process to exit.

Overload List

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();

See Also

Process Class | Process Members | System.Diagnostics Namespace