共用方式為


IsolatedWindowsEnvironmentOptions.CreationPriority 屬性

定義

已取代。 取得或設定隔離環境的建立優先順序。 建立環境之後,就無法使用此屬性變更優先順序。 使用 ChangeCreationPriority 修改現有環境的優先順序。

public:
 property IsolatedWindowsEnvironmentCreationPriority CreationPriority { IsolatedWindowsEnvironmentCreationPriority get(); void set(IsolatedWindowsEnvironmentCreationPriority value); };
IsolatedWindowsEnvironmentCreationPriority CreationPriority();

void CreationPriority(IsolatedWindowsEnvironmentCreationPriority value);
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
IsolatedWindowsEnvironmentCreationPriority CreationPriority();

void CreationPriority(IsolatedWindowsEnvironmentCreationPriority value);
public IsolatedWindowsEnvironmentCreationPriority CreationPriority { get; set; }
public IsolatedWindowsEnvironmentCreationPriority CreationPriority { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] set; }
var isolatedWindowsEnvironmentCreationPriority = isolatedWindowsEnvironmentOptions.creationPriority;
isolatedWindowsEnvironmentOptions.creationPriority = isolatedWindowsEnvironmentCreationPriority;
Public Property CreationPriority As IsolatedWindowsEnvironmentCreationPriority

屬性值

隔離環境的建立優先順序。

屬性

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (已於 v4.0 引進)

備註

警告

這是已被取代的 API。

適用於