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);
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ğine ilişkin bir gösterge.

notificationText
String

Bildirim metni.

Döndürülenler

İşlem başarılı olursa true; Temel Windows altyapısı kullanılamıyorsa veya işlem başarısız olduysa false. 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