AutomationPeer.RaiseNotificationEvent Methode

Definition

Initiiert ein Benachrichtigungsereignis.

public:
 virtual void RaiseNotificationEvent(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, Platform::String ^ displayString, Platform::String ^ activityId) = RaiseNotificationEvent;
void RaiseNotificationEvent(AutomationNotificationKind const& notificationKind, AutomationNotificationProcessing const& notificationProcessing, winrt::hstring const& displayString, winrt::hstring const& activityId);
public void RaiseNotificationEvent(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId);
function raiseNotificationEvent(notificationKind, notificationProcessing, displayString, activityId)
Public Sub RaiseNotificationEvent (notificationKind As AutomationNotificationKind, notificationProcessing As AutomationNotificationProcessing, displayString As String, activityId As String)

Parameter

notificationKind
AutomationNotificationKind

Gibt den Typ der Benachrichtigung an.

notificationProcessing
AutomationNotificationProcessing

Gibt die Reihenfolge an, in der die Benachrichtigung verarbeitet werden soll.

displayString
String

Platform::String

winrt::hstring

Eine Anzeigezeichenfolge, die das Ereignis beschreibt.

activityId
String

Platform::String

winrt::hstring

Eine eindeutige, nicht lokalisierte Zeichenfolge zum Identifizieren einer Aktion oder Gruppe von Aktionen. Verwenden Sie diese, um zusätzliche Informationen an den Ereignishandler zu übergeben.

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Gilt für: