共用方式為


IsolatedWindowsEnvironmentProcess.WaitForExitAsync 方法

定義

已取代。 允許呼叫端以異步方式等候進程完成。

public:
 virtual IAsyncAction ^ WaitForExitAsync() = WaitForExitAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction WaitForExitAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncAction WaitForExitAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction WaitForExitAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncAction WaitForExitAsync();
function waitForExitAsync()
Public Function WaitForExitAsync () As IAsyncAction

傳回

HRESULT

屬性

備註

警告

這是已被取代的 API。

適用於