AutomationPeer.RaiseNotificationEvent Metode

Definisi

Memulai peristiwa pemberitahuan.

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

Menentukan jenis pemberitahuan.

notificationProcessing
AutomationNotificationProcessing

Menentukan urutan untuk memproses pemberitahuan.

displayString
String

Platform::String

winrt::hstring

String tampilan yang menjelaskan peristiwa.

activityId
String

Platform::String

winrt::hstring

String unik yang tidak dilokalkan untuk mengidentifikasi tindakan atau grup tindakan. Gunakan ini untuk meneruskan informasi tambahan ke penanganan aktivitas.

Persyaratan Windows

Rangkaian perangkat
Windows 10 Fall Creators Update (diperkenalkan dalam 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v5.0)

Berlaku untuk