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。

适用于