IsolatedWindowsEnvironment.CreateAsync 方法

定义

重载

CreateAsync(IsolatedWindowsEnvironmentOptions)

已弃用。 异步创建独立 Windows 环境。

CreateAsync(IsolatedWindowsEnvironmentOptions, IsolatedWindowsEnvironmentTelemetryParameters)

已弃用。 异步创建独立 Windows 环境,并与遥测事件相关联。

CreateAsync(IsolatedWindowsEnvironmentOptions)

已弃用。 异步创建独立 Windows 环境。

public:
 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult ^, IsolatedWindowsEnvironmentCreateProgress> ^ CreateAsync(IsolatedWindowsEnvironmentOptions ^ options);
/// [Windows.Foundation.Metadata.Overload("CreateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions const& options);
/// [Windows.Foundation.Metadata.Overload("CreateAsync")]
/// [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")]
 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions const& options);
[Windows.Foundation.Metadata.Overload("CreateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult,IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions options);
[Windows.Foundation.Metadata.Overload("CreateAsync")]
[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 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult,IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions options);
function createAsync(options)
Public Shared Function CreateAsync (options As IsolatedWindowsEnvironmentOptions) As IAsyncOperationWithProgress(Of IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress)

参数

返回

IsolatedWindowsEnvironmentCreateResultIsolatedWindowsEnvironmentCreateProgress

属性

注解

警告

这是一个已弃用的 API。

另请参阅

适用于

CreateAsync(IsolatedWindowsEnvironmentOptions, IsolatedWindowsEnvironmentTelemetryParameters)

已弃用。 异步创建独立 Windows 环境,并与遥测事件相关联。

public:
 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult ^, IsolatedWindowsEnvironmentCreateProgress> ^ CreateAsync(IsolatedWindowsEnvironmentOptions ^ options, IsolatedWindowsEnvironmentTelemetryParameters ^ telemetryParameters);
/// [Windows.Foundation.Metadata.Overload("CreateWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions const& options, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
/// [Windows.Foundation.Metadata.Overload("CreateWithTelemetryAsync")]
/// [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")]
 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions const& options, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
[Windows.Foundation.Metadata.Overload("CreateWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult,IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions options, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
[Windows.Foundation.Metadata.Overload("CreateWithTelemetryAsync")]
[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 static IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult,IsolatedWindowsEnvironmentCreateProgress> CreateAsync(IsolatedWindowsEnvironmentOptions options, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
function createAsync(options, telemetryParameters)
Public Shared Function CreateAsync (options As IsolatedWindowsEnvironmentOptions, telemetryParameters As IsolatedWindowsEnvironmentTelemetryParameters) As IAsyncOperationWithProgress(Of IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress)

参数

返回

IsolatedWindowsEnvironmentCreateResultIsolatedWindowsEnvironmentCreateProgress

属性

注解

警告

这是一个已弃用的 API。

另请参阅

  • <xref:Windows.Security.Isolation.IsolatedWindowsEnvironment.CreateAsync(Windows.Security.Isolation.IsolatedWindowsEnvironmentOptions)+with+telemetry+correlation>

适用于