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.