Langue

NotificationEventArgs Constructeur

Définition

Initialise une nouvelle instance de la NotificationEventArgs classe avec les arguments spécifiés.

public:
 NotificationEventArgs(System::Windows::Automation::AutomationNotificationKind notificationKind, System::Windows::Automation::AutomationNotificationProcessing notificationProcessing, System::String ^ displayString, System::String ^ activityId);
public NotificationEventArgs(System.Windows.Automation.AutomationNotificationKind notificationKind, System.Windows.Automation.AutomationNotificationProcessing notificationProcessing, string displayString, string activityId);
new System.Windows.Automation.NotificationEventArgs : System.Windows.Automation.AutomationNotificationKind * System.Windows.Automation.AutomationNotificationProcessing * string * string -> System.Windows.Automation.NotificationEventArgs
Public Sub New (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

Chaîne d’affichage qui décrit l’événement.

activityId
String

Chaîne non localisée unique permettant d’identifier une action ou un groupe d’actions. Utilisez cette option pour transmettre des informations supplémentaires au gestionnaire d’événements.

S’applique à