次の方法で共有


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 です。

適用対象