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。

适用于