IsolatedWindowsHostMessenger クラス

定義

非推奨になりました。 2 つのメソッドのランタイム クラス: PostMessageToReceiviergetfileid

public ref class IsolatedWindowsHostMessenger abstract sealed
/// [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 IsolatedWindowsHostMessenger 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("IsolatedWindowsHostMessenger 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 IsolatedWindowsHostMessenger final
[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 static class IsolatedWindowsHostMessenger
[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("IsolatedWindowsHostMessenger 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 static class IsolatedWindowsHostMessenger
Public Class IsolatedWindowsHostMessenger
継承
Object Platform::Object IInspectable IsolatedWindowsHostMessenger
属性

Windows の要件

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

注釈

警告

これは非推奨の API です。

メソッド

GetFileId(String)

非推奨になりました。 分離された Windows 環境で開かれているファイルの一意識別子を取得します。

PostMessageToReceiver(Guid, IVectorView<Object>)

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

RegisterHostMessageReceiver(Guid, HostMessageReceivedCallback)

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

UnregisterHostMessageReceiver(Guid)

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

適用対象