NotificationEventArgs Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de NotificationEventArgs klasse met de opgegeven 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)
Parameters
- notificationKind
- AutomationNotificationKind
Hiermee geeft u het type melding.
- notificationProcessing
- AutomationNotificationProcessing
Hiermee geeft u de volgorde op waarin de melding moet worden verwerkt.
- displayString
- String
Een weergavetekenreeks die de gebeurtenis beschrijft.
- activityId
- String
Een unieke niet-gelokaliseerde tekenreeks om een actie of groep acties te identificeren. Gebruik deze optie om aanvullende informatie door te geven aan de gebeurtenis-handler.