Auf Englisch lesen

Freigeben über


AccessibleObject.RaiseAutomationNotification Methode

Definition

Löst das Benachrichtigungsereignis der Benutzeroberflächenautomatisierung aus.

C#
public bool RaiseAutomationNotification(System.Windows.Forms.Automation.AutomationNotificationKind notificationKind, System.Windows.Forms.Automation.AutomationNotificationProcessing notificationProcessing, string notificationText);
C#
public bool RaiseAutomationNotification(System.Windows.Forms.Automation.AutomationNotificationKind notificationKind, System.Windows.Forms.Automation.AutomationNotificationProcessing notificationProcessing, string? notificationText);

Parameter

notificationKind
AutomationNotificationKind

Der Typ der Benachrichtigung.

notificationProcessing
AutomationNotificationProcessing

Ein Indikator dafür, wie Benachrichtigungen verarbeitet werden.

notificationText
String

Der Text der Benachrichtigung.

Gibt zurück

true, wenn der Vorgang erfolgreich war; false, wenn die zugrunde liegende Windows-Infrastruktur nicht verfügbar ist oder ein Fehler beim Vorgang aufgetreten ist. Rufen Sie GetLastWin32Error() auf, um Details anzuzeigen.

Hinweise

Dieses Ereignis ist ab Windows 10 Version 1709 verfügbar.

Gilt für:

Produkt Versionen
.NET Framework 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10