AutomationPeer.RaiseNotificationEvent Méthode

Définition

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 à