IsolatedWindowsEnvironmentOptions.PersistUserProfile Свойство
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Не рекомендуется. Позволяет профилю пользователя сохраняться в изолированной среде Windows из сеанса в сеанс.
public:
property bool PersistUserProfile { bool get(); void set(bool value); };
bool PersistUserProfile();
void PersistUserProfile(bool 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")]
bool PersistUserProfile();
void PersistUserProfile(bool value);
public bool PersistUserProfile { get; set; }
public bool PersistUserProfile { [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 boolean = isolatedWindowsEnvironmentOptions.persistUserProfile;
isolatedWindowsEnvironmentOptions.persistUserProfile = boolean;
Public Property PersistUserProfile As Boolean
Значение свойства
Boolean
bool
Логическое
- Атрибуты
Комментарии
Предупреждение
Это нерекомендуемый API.