AccessibleObject.RaiseAutomationNotification Metoda

Definicja

Zgłasza zdarzenie powiadomienia automatyzacji interfejsu użytkownika.

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

Parametry

notificationKind
AutomationNotificationKind

Typ powiadomienia.

notificationProcessing
AutomationNotificationProcessing

Wskaźnik sposobu przetwarzania powiadomień.

notificationText
String

Tekst powiadomienia.

Zwraca

true jeśli operacja zakończy się pomyślnie; false jeśli podstawowa infrastruktura systemu Windows jest niedostępna lub operacja nie powiodła się. Zadzwoń GetLastWin32Error() , aby uzyskać szczegółowe informacje.

Uwagi

To zdarzenie jest dostępne od Windows 10 w wersji 1709.

Dotyczy