AccessibleObject.RaiseAutomationNotification Methode
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.
Löst das Benachrichtigungsereignis der Benutzeroberflächenautomatisierung aus.
public:
bool RaiseAutomationNotification(System::Windows::Forms::Automation::AutomationNotificationKind notificationKind, System::Windows::Forms::Automation::AutomationNotificationProcessing notificationProcessing, System::String ^ notificationText);
public bool RaiseAutomationNotification(System.Windows.Forms.Automation.AutomationNotificationKind notificationKind, System.Windows.Forms.Automation.AutomationNotificationProcessing notificationProcessing, string notificationText);
public bool RaiseAutomationNotification(System.Windows.Forms.Automation.AutomationNotificationKind notificationKind, System.Windows.Forms.Automation.AutomationNotificationProcessing notificationProcessing, string? notificationText);
member this.RaiseAutomationNotification : System.Windows.Forms.Automation.AutomationNotificationKind * System.Windows.Forms.Automation.AutomationNotificationProcessing * string -> bool
Public Function RaiseAutomationNotification (notificationKind As AutomationNotificationKind, notificationProcessing As AutomationNotificationProcessing, notificationText As String) As Boolean
- notificationKind
- AutomationNotificationKind
Der Typ der Benachrichtigung.
- notificationProcessing
- AutomationNotificationProcessing
Ein Indikator dafür, wie Benachrichtigungen verarbeitet werden.
- notificationText
- String
Der Text der Benachrichtigung.
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.
Dieses Ereignis ist ab Windows 10 Version 1709 verfügbar.
Produkt | Versionen |
---|---|
.NET Framework | 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Feedback zu .NET
.NET ist ein Open Source-Projekt. Wählen Sie einen Link aus, um Feedback zu geben: