NotificationEventArgs Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.