IsolatedWindowsEnvironmentOptions.CreationPriority 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
已取代。 取得或設定隔離環境的建立優先順序。 建立環境之後,就無法使用此屬性變更優先順序。 使用 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。