IsolatedWindowsEnvironment.ChangePriority 方法

定义

已弃用。 允许调用方设置独立环境的执行优先级。

public:
 virtual void ChangePriority(IsolatedWindowsEnvironmentCreationPriority Priority) = ChangePriority;
void ChangePriority(IsolatedWindowsEnvironmentCreationPriority const& Priority);
/// [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")]
void ChangePriority(IsolatedWindowsEnvironmentCreationPriority const& Priority);
public void ChangePriority(IsolatedWindowsEnvironmentCreationPriority Priority);
[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 void ChangePriority(IsolatedWindowsEnvironmentCreationPriority Priority);
function changePriority(Priority)
Public Sub ChangePriority (Priority As IsolatedWindowsEnvironmentCreationPriority)

参数

Priority
IsolatedWindowsEnvironmentCreationPriority

环境的新执行优先级。

属性

Windows 要求

设备系列
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (在 v4.0 中引入)

注解

警告

这是一个已弃用的 API。

适用于

另请参阅