AutomationPeer.RaiseNotificationEvent 方法

定義

起始通知事件。

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)

參數

notificationKind
AutomationNotificationKind

指定通知的類型。

notificationProcessing
AutomationNotificationProcessing

指定要處理通知的順序。

displayString
String

Platform::String

winrt::hstring

描述事件的顯示字串。

activityId
String

Platform::String

winrt::hstring

用來識別動作或動作群組的唯一非當地語系化字串。 使用此專案將其他資訊傳遞至事件處理程式。

適用於