Instructs the Process component to wait the specified number of milliseconds for the associated process to exit.
milliseconds | The amount of time, in milliseconds, to wait for the associated process to exit. A value of 0 specifies an immediate return, and a value of -1 specifies an infinite wait.The amount of time, in milliseconds, to wait for the associated process to exit. A value of 0 specifies an immediate return, and a value of -1 specifies an infinite wait. |
xtd::invalid_operation_exception | There is no process associated with this xtd::diagnostics::process object. |