IsolatedWindowsEnvironment.ChangePriority 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已弃用。 允许调用方设置独立环境的执行优先级。
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)
参数
环境的新执行优先级。
- 属性
Windows 要求
设备系列 |
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (在 v4.0 中引入)
|
注解
警告
这是一个已弃用的 API。
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈