Språk

NotificationEventArgs Konstruktor

Definition

Initierar en ny instans av NotificationEventArgs klassen med angivna argument.

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)

Parametrar

notificationKind
AutomationNotificationKind

Anger typen av meddelande.

notificationProcessing
AutomationNotificationProcessing

Anger i vilken ordning meddelandet ska bearbetas.

displayString
String

En visningssträng som beskriver händelsen.

activityId
String

En unik icke-lokaliserad sträng för att identifiera en åtgärd eller grupp med åtgärder. Använd detta för att skicka ytterligare information till händelsehanteraren.

Gäller för