IsolatedWindowsEnvironmentProcess.WaitForExitWithTimeout(UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已弃用。 允许调用方指定进程完成超时。
public:
virtual void WaitForExitWithTimeout(unsigned int timeoutMilliseconds) = WaitForExitWithTimeout;
void WaitForExitWithTimeout(uint32_t const& timeoutMilliseconds);
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentProcess is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
void WaitForExitWithTimeout(uint32_t const& timeoutMilliseconds);
public void WaitForExitWithTimeout(uint timeoutMilliseconds);
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentProcess is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public void WaitForExitWithTimeout(uint timeoutMilliseconds);
function waitForExitWithTimeout(timeoutMilliseconds)
Public Sub WaitForExitWithTimeout (timeoutMilliseconds As UInteger)
参数
- timeoutMilliseconds
-
UInt32
unsigned int
uint32_t
超时前允许的时间量。
- 属性
注解
警告
这是一个已弃用的 API。