Compartir a través de


IsolatedWindowsHostMessenger Clase

Definición

Desusado. Clase en tiempo de ejecución para dos métodos: PostMessageToReceivier y getfileid.

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
Herencia
Object Platform::Object IInspectable IsolatedWindowsHostMessenger
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10, version 2004 (se introdujo en la versión 10.0.19041.0)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (se introdujo en la versión v2.0)

Comentarios

Advertencia

Se trata de una API en desuso.

Métodos

GetFileId(String)

Desusado. Obtiene un identificador único del archivo que se abre en el entorno aislado de Windows.

PostMessageToReceiver(Guid, IVectorView<Object>)

Desusado. Publique un mensaje del entorno aislado de Windows en el receptor que está registrado en el lado host.

RegisterHostMessageReceiver(Guid, HostMessageReceivedCallback)

Desusado. Registre la devolución de llamada del receptor de mensajes de host.

UnregisterHostMessageReceiver(Guid)

Desusado. Anule el registro de la devolución de llamada del receptor de mensajes de host.

Se aplica a