AccessibleObject.RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String) AccessibleObject.RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String) AccessibleObject.RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String) AccessibleObject.RaiseAutomationNotification(AutomationNotificationKind, AutomationNotificationProcessing, String) Method

Definition

Raises the UI automation notification event.

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);
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

Parameters

notificationText
String String String String

The text of the notification.

Returns

true if the operation succeeds; false if the underlying Windows infrastructure is not available or the operation failed. Call GetLastWin32Error() for details.

Remarks

This event is available starting with Windows 10, version 1709.

Applies to