AccessibleObject.RaiseAutomationNotification Método

Definição

Gera o evento de notificação de automação da interface do usuário.

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

Parâmetros

notificationKind
AutomationNotificationKind

O tipo de notificação.

notificationProcessing
AutomationNotificationProcessing

Um indicador de como processar as notificações.

notificationText
String

O texto da notificação.

Retornos

true se a operação for bem-sucedida; false se a infraestrutura subjacente do Windows não estiver disponível ou a operação falhar. Chame GetLastWin32Error() para obter detalhes.

Comentários

Esse evento está disponível a partir do Windows 10, versão 1709.

Aplica-se a