IsolatedWindowsHostMessenger.PostMessageToReceiver Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Action déconseillée. Publiez un message de l’environnement Windows isolé sur le récepteur inscrit côté hôte.
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))
Paramètres
- receiverId
-
Guid
Platform::Guid
winrt::guid
GUID pour le récepteur de messages.
- message
-
IVectorView<Platform::Object>
IVectorView<IInspectable>
IVectorView
- Attributs
Remarques
Avertissement
Il s’agit d’une API déconseillée.