Język

NotificationEventArgs Konstruktor

Definicja

Inicjuje nowe wystąpienie NotificationEventArgs klasy z określonymi argumentami.

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)

Parametry

notificationKind
AutomationNotificationKind

Określa typ powiadomienia.

notificationProcessing
AutomationNotificationProcessing

Określa kolejność przetwarzania powiadomienia.

displayString
String

Ciąg wyświetlany opisujący zdarzenie.

activityId
String

Unikatowy, nielokalizowany ciąg identyfikujące akcję lub grupę akcji. Służy do przekazywania dodatkowych informacji do programu obsługi zdarzeń.

Dotyczy