NotificationEventArgs Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der NotificationEventArgs Klasse mit den angegebenen Argumenten.
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)
Parameter
- notificationKind
- AutomationNotificationKind
Gibt den Typ der Benachrichtigung an.
- notificationProcessing
- AutomationNotificationProcessing
Gibt die Reihenfolge an, in der die Benachrichtigung verarbeitet werden soll.
- displayString
- String
Eine Anzeigezeichenfolge, die das Ereignis beschreibt.
- activityId
- String
Eine eindeutige, nicht lokalisierte Zeichenfolge zum Identifizieren einer Aktion oder Gruppe von Aktionen. Verwenden Sie diese Eigenschaft, um zusätzliche Informationen an den Ereignishandler zu übergeben.