Share via


AutomationPeer.RaiseNotificationEvent Method

Definition

Initiates a notification event.

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)

Parameters

notificationKind
AutomationNotificationKind

Specifies the type of the notification.

notificationProcessing
AutomationNotificationProcessing

Specifies the order in which to process the notification.

displayString
String

Platform::String

winrt::hstring

A display string describing the event.

activityId
String

Platform::String

winrt::hstring

A unique non-localized string to identify an action or group of actions. Use this to pass additional information to the event handler.

Applies to