Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Process.WaitForExit Method

Sets the period of time to wait for the associated process to exit, and blocks the current thread of execution until the time has elapsed or the process has exited.

Name Description
Process.WaitForExit () Instructs the Process component to wait indefinitely for the associated process to exit.

Supported by the .NET Compact Framework.

Process.WaitForExit (Int32) Instructs the Process component to wait the specified number of milliseconds for the associated process to exit.

Supported by the .NET Compact Framework.

Community Additions

Show: