共用方式為


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)

參數

options
IsolatedWindowsEnvironmentOptions

隔離式 Windows 環境設定選項由 isolatedwindowsenvironmentoptions 所定義

傳回

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)

參數

options
IsolatedWindowsEnvironmentOptions

隔離式 Windows 環境設定選項由 isolatedwindowsenvironmentoptions 所定義

傳回

IsolatedWindowsEnvironmentCreateResultIsolatedWindowsEnvironmentCreateProgress

屬性

備註

警告

這是已被取代的 API。

另請參閱

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

適用於