IsolatedWindowsEnvironment クラス

定義

非推奨になりました。 アプリケーションが仮想化環境で信頼されていないデータを開いて処理し、ファイル内の悪意のある可能性のあるコンテンツからホスト オペレーティング システムを保護するために、ハイパーバイザー ベースの分離環境を作成および管理します。

public ref class IsolatedWindowsEnvironment sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
class IsolatedWindowsEnvironment final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IsolatedWindowsEnvironment final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
class IsolatedWindowsEnvironment final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public sealed class IsolatedWindowsEnvironment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class IsolatedWindowsEnvironment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public sealed class IsolatedWindowsEnvironment
Public NotInheritable Class IsolatedWindowsEnvironment
継承
Object Platform::Object IInspectable IsolatedWindowsEnvironment
属性

Windows の要件

デバイス ファミリ
Windows 10, version 2004 (10.0.19041.0 で導入)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (v2.0 で導入)

注釈

警告

これは非推奨の API です。

ランタイム クラス

プロパティ

Id

非推奨になりました。 分離された Windows 環境の ID を返します。

メソッド

ChangePriority(IsolatedWindowsEnvironmentCreationPriority)

非推奨になりました。 呼び出し元が分離環境の実行優先度を設定できるようにします。

CreateAsync(IsolatedWindowsEnvironmentOptions)

非推奨になりました。 分離された Windows 環境を非同期的に作成します。

CreateAsync(IsolatedWindowsEnvironmentOptions, IsolatedWindowsEnvironmentTelemetryParameters)

非推奨になりました。 分離された Windows 環境を非同期的に作成し、テレメトリ イベントと関連付けます。

FindByOwnerId(String)

非推奨になりました。 特定の所有者に登録されている分離 Windows 環境の一覧を返します。

GetById(String)

非推奨になりました。 Id に基づいて分離された Windows 環境への参照を返 します

GetUserInfo()

非推奨になりました。 分離環境ユーザーはホスト ユーザーとは異なり、別のユーザーであるため、ホスト アプリケーションでは、ユーザー名や SID など、分離された環境にサインインしたユーザーに関する情報を知る必要がある場合があります。 この API は、サインイン プロセスの完了を待つ必要なく、これらの値を公開します。

LaunchFileWithUIAsync(String, String, String)

非推奨になりました。 アプリケーションが分離された Windows 環境でファイルを開くできるようにします。

LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters)

非推奨になりました。 テレメトリの関連付けを使用して、分離された Windows 環境でファイルを開くアプリケーションを許可します。

PostMessageToReceiverAsync(Guid, IIterable<Object>)

非推奨になりました。 ホストから、分離された Windows 環境側に登録されている受信者にメッセージを投稿します。

PostMessageToReceiverAsync(Guid, IIterable<Object>, IsolatedWindowsEnvironmentTelemetryParameters)

非推奨になりました。 ホストから、分離された Windows 環境側に登録されている受信者にメッセージを投稿し、テレメトリ イベントと関連付けます。

RegisterMessageReceiver(Guid, MessageReceivedCallback)

非推奨になりました。 メッセージ レシーバー コールバックを登録します。

ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions)

非推奨になりました。 分離された Windows 環境でホスト ファイルを共有します。

ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

非推奨になりました。 テレメトリの関連付けを使用して、分離された Windows 環境でホスト ファイルを共有します。

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions)

非推奨になりました。 分離された Windows 環境でホスト フォルダーを共有します。

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

非推奨になりました。 テレメトリの関連付けを使用して、分離された Windows 環境でホスト フォルダーを共有します。

StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator)

非推奨になりました。 分離された Windows 環境内でのプロセスの実行を許可します。

StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator, IsolatedWindowsEnvironmentTelemetryParameters)

非推奨になりました。 テレメトリの関連付けを使用して、分離された Windows 環境内でプロセスを実行できるようにします。

TerminateAsync()

非推奨になりました。 分離された Windows 環境を非同期的に終了します。

TerminateAsync(IsolatedWindowsEnvironmentTelemetryParameters)

非推奨になりました。 テレメトリの関連付けを使用して、分離された Windows 環境を非同期的に終了します。

UnregisterMessageReceiver(Guid)

非推奨になりました。 メッセージ レシーバー コールバックの登録を解除します。

適用対象