共用方式為


IsolatedWindowsEnvironment.StartProcessSilentlyAsync 方法

定義

多載

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

字串

傳回

IsolatedWindowsEnvironmentStartProcessResult

屬性

備註

警告

這是已被取代的 API。

適用於