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

Уникальная нелокализованная строка для идентификации действия или группы действий. Используйте его для передачи дополнительных сведений обработчику событий.

Требования к Windows

Семейство устройств
Windows 10 Fall Creators Update (появилось в 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v5.0)

Применяется к