IsolatedWindowsHostMessenger.UnregisterHostMessageReceiver(Guid) 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. Annuler l’inscription du rappel du récepteur de message hôte.
public:
static void UnregisterHostMessageReceiver(Platform::Guid receiverId);
static void UnregisterHostMessageReceiver(winrt::guid const& receiverId);
/// [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 UnregisterHostMessageReceiver(winrt::guid const& receiverId);
public static void UnregisterHostMessageReceiver(Guid receiverId);
[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 UnregisterHostMessageReceiver(Guid receiverId);
function unregisterHostMessageReceiver(receiverId)
Public Shared Sub UnregisterHostMessageReceiver (receiverId As Guid)
Paramètres
- receiverId
-
Guid
Platform::Guid
winrt::guid
GUID pour le récepteur de messages.
- Attributs
Remarques
Avertissement
Il s’agit d’une API déconseillée.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour