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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework WaitForExit() Instructs the Process component to wait indefinitely for the associated process to exit.
Public method Supported by the .NET Compact Framework WaitForExit(Int32) Instructs the Process component to wait the specified number of milliseconds for the associated process to exit.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft