System::Diagnostics::Process::WaitForExit 方法

Process::WaitForExit() method

等待进程退出,直到结束才返回。

void System::Diagnostics::Process::WaitForExit()

另见

Process::WaitForExit(int) method

等待进程退出。未实现。

bool System::Diagnostics::Process::WaitForExit(int milliseconds)
参数类型描述
毫秒int最大等待延迟。

ReturnValue

如果进程已完成则为 true,超时则为 false。

另见