AccessibleObject.RaiseAutomationNotification Metódus

Definíció

A felhasználói felület automatizálási értesítési eseményének növelése.

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

Paraméterek

notificationKind
AutomationNotificationKind

Az értesítés típusa.

notificationProcessing
AutomationNotificationProcessing

Az értesítések feldolgozásának mutatója.

notificationText
String

Az értesítés szövege.

Válaszok

true, ha a művelet sikeres; false, ha a mögöttes Windows infrastruktúra nem érhető el, vagy a művelet meghiúsult. Hívja GetLastWin32Error() fel a részleteket.

Megjegyzések

Ez az esemény Windows 10 1709-es verziótól kezdve érhető el.

A következőre érvényes: