AutomationPeer.RaiseNotificationEvent 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.
Lance un événement de notification.
public:
virtual void RaiseNotificationEvent(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, Platform::String ^ displayString, Platform::String ^ activityId) = RaiseNotificationEvent;
void RaiseNotificationEvent(AutomationNotificationKind const& notificationKind, AutomationNotificationProcessing const& notificationProcessing, winrt::hstring const& displayString, winrt::hstring const& activityId);
public void RaiseNotificationEvent(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId);
function raiseNotificationEvent(notificationKind, notificationProcessing, displayString, activityId)
Public Sub RaiseNotificationEvent (notificationKind As AutomationNotificationKind, notificationProcessing As AutomationNotificationProcessing, displayString As String, activityId As String)
Paramètres
- notificationKind
- AutomationNotificationKind
Spécifie le type de la notification.
- notificationProcessing
- AutomationNotificationProcessing
Spécifie l’ordre dans lequel traiter la notification.
- displayString
-
String
Platform::String
winrt::hstring
Chaîne d’affichage décrivant l’événement.
- activityId
-
String
Platform::String
winrt::hstring
Chaîne unique non localisée permettant d’identifier une action ou un groupe d’actions. Utilisez cette option pour transmettre des informations supplémentaires au gestionnaire d’événements.
Configuration requise pour Windows
Famille d’appareils |
Windows 10 Fall Creators Update (introduit dans 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduit dans v5.0)
|
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour