IsolatedWindowsEnvironment.CreateAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
独立 windowsenvironmentoptions 定义的独立 Windows 环境配置选项
返回
IAsyncOperationWithProgress<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)
参数
独立 windowsenvironmentoptions 定义的独立 Windows 环境配置选项
- telemetryParameters
- IsolatedWindowsEnvironmentTelemetryParameters
返回
IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult,IsolatedWindowsEnvironmentCreateProgress>
IsolatedWindowsEnvironmentCreateResultIsolatedWindowsEnvironmentCreateProgress
- 属性
注解
警告
这是一个已弃用的 API。
另请参阅
- <xref:Windows.Security.Isolation.IsolatedWindowsEnvironment.CreateAsync(Windows.Security.Isolation.IsolatedWindowsEnvironmentOptions)+with+telemetry+correlation>