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
String
返回
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
String
- telemetryParameters
- IsolatedWindowsEnvironmentTelemetryParameters
返回
IsolatedWindowsEnvironmentStartProcessResult
- 属性
注解
警告
这是一个已弃用的 API。