AccessibleObject.RaiseAutomationNotification Método

Definición

Genera el evento de notificación de automatización de interfaz de usuario.

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

Parámetros

notificationKind
AutomationNotificationKind

Tipo de notificación.

notificationProcessing
AutomationNotificationProcessing

Indicador de cómo procesar las notificaciones.

notificationText
String

Texto de la notificación.

Devoluciones

true si la operación se realiza correctamente; false si la infraestructura subyacente de Windows no está disponible o se produjo un error en la operación. Para obtener información más detallada, llame a GetLastWin32Error().

Comentarios

Este evento está disponible a partir de Windows 10, versión 1709.

Se aplica a

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