IsolatedWindowsEnvironment.StartProcessSilentlyAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator) |
已取代。 允許進程在隔離的 Windows 環境內執行。 |
StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator, IsolatedWindowsEnvironmentTelemetryParameters) |
已取代。 允許進程在具有遙測相互關聯的隔離 Windows 環境中執行。 |
StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator)
已取代。 允許進程在隔離的 Windows 環境內執行。
public:
virtual IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult ^> ^ StartProcessSilentlyAsync(Platform::String ^ hostExePath, Platform::String ^ arguments, IsolatedWindowsEnvironmentActivator activator) = StartProcessSilentlyAsync;
/// [Windows.Foundation.Metadata.Overload("StartProcessSilentlyAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(winrt::hstring const& hostExePath, winrt::hstring const& arguments, IsolatedWindowsEnvironmentActivator const& activator);
/// [Windows.Foundation.Metadata.Overload("StartProcessSilentlyAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(winrt::hstring const& hostExePath, winrt::hstring const& arguments, IsolatedWindowsEnvironmentActivator const& activator);
[Windows.Foundation.Metadata.Overload("StartProcessSilentlyAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(string hostExePath, string arguments, IsolatedWindowsEnvironmentActivator activator);
[Windows.Foundation.Metadata.Overload("StartProcessSilentlyAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment 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 IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(string hostExePath, string arguments, IsolatedWindowsEnvironmentActivator activator);
function startProcessSilentlyAsync(hostExePath, arguments, activator)
Public Function StartProcessSilentlyAsync (hostExePath As String, arguments As String, activator As IsolatedWindowsEnvironmentActivator) As IAsyncOperation(Of IsolatedWindowsEnvironmentStartProcessResult)
參數
- hostExePath
-
String
Platform::String
winrt::hstring
主機執行路徑的字串。
- arguments
-
String
Platform::String
winrt::hstring
字串
傳回
IsolatedWindowsEnvironmentStartProcessResult
- 屬性
備註
警告
這是已被取代的 API。
適用於
StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator, IsolatedWindowsEnvironmentTelemetryParameters)
已取代。 允許進程在具有遙測相互關聯的隔離 Windows 環境中執行。
public:
virtual IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult ^> ^ StartProcessSilentlyAsync(Platform::String ^ hostExePath, Platform::String ^ arguments, IsolatedWindowsEnvironmentActivator activator, IsolatedWindowsEnvironmentTelemetryParameters ^ telemetryParameters) = StartProcessSilentlyAsync;
/// [Windows.Foundation.Metadata.Overload("StartProcessSilentlyWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(winrt::hstring const& hostExePath, winrt::hstring const& arguments, IsolatedWindowsEnvironmentActivator const& activator, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
/// [Windows.Foundation.Metadata.Overload("StartProcessSilentlyWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(winrt::hstring const& hostExePath, winrt::hstring const& arguments, IsolatedWindowsEnvironmentActivator const& activator, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
[Windows.Foundation.Metadata.Overload("StartProcessSilentlyWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(string hostExePath, string arguments, IsolatedWindowsEnvironmentActivator activator, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
[Windows.Foundation.Metadata.Overload("StartProcessSilentlyWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment 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 IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult> StartProcessSilentlyAsync(string hostExePath, string arguments, IsolatedWindowsEnvironmentActivator activator, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
function startProcessSilentlyAsync(hostExePath, arguments, activator, telemetryParameters)
Public Function StartProcessSilentlyAsync (hostExePath As String, arguments As String, activator As IsolatedWindowsEnvironmentActivator, telemetryParameters As IsolatedWindowsEnvironmentTelemetryParameters) As IAsyncOperation(Of IsolatedWindowsEnvironmentStartProcessResult)
參數
- hostExePath
-
String
Platform::String
winrt::hstring
主機執行路徑的字串。
- arguments
-
String
Platform::String
winrt::hstring
字串
- telemetryParameters
- IsolatedWindowsEnvironmentTelemetryParameters
傳回
IsolatedWindowsEnvironmentStartProcessResult
- 屬性
備註
警告
這是已被取代的 API。