IsolatedWindowsHostMessenger.PostMessageToReceiver Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Desusado. Publique un mensaje del entorno aislado de Windows en el receptor que está registrado en el lado host.
public:
static void PostMessageToReceiver(Platform::Guid receiverId, IVectorView<Platform::Object ^> ^ message);
static void PostMessageToReceiver(winrt::guid const& receiverId, IVectorView<IInspectable> const& message);
/// [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")]
static void PostMessageToReceiver(winrt::guid const& receiverId, IVectorView<IInspectable> const& message);
public static void PostMessageToReceiver(Guid receiverId, IReadOnlyList<object> message);
[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 void PostMessageToReceiver(Guid receiverId, IReadOnlyList<object> message);
function postMessageToReceiver(receiverId, message)
Public Shared Sub PostMessageToReceiver (receiverId As Guid, message As IReadOnlyList(Of Object))
Parámetros
- receiverId
-
Guid
Platform::Guid
winrt::guid
GUID para el receptor de mensajes.
- message
-
IVectorView<Platform::Object>
IVectorView<IInspectable>
IVectorView
- Atributos
Comentarios
Advertencia
Se trata de una API en desuso.