AccessibleObject.RaiseAutomationNotification Yöntem

Tanım

UI otomasyonu bildirim olayını tetikler.

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

Parametreler

notificationKind
AutomationNotificationKind

Bildirim türü.

notificationProcessing
AutomationNotificationProcessing

Bildirimlerin nasıl işlendiğini gösteren bir gösterge.

notificationText
String

Bildirim metni.

Döndürülenler

Boolean

true işlem başarılı olursa; false temel alınan Windows altyapısı kullanılamıyorsa veya işlem başarısız olduysa. Ayrıntılar için arayın GetLastWin32Error() .

Açıklamalar

Bu olay, Windows 10 sürüm 1709'dan itibaren kullanılabilir.

Şunlara uygulanır