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。