AutomationPeer.RaiseNotificationEvent Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für