AutomationPeer.RaiseNotificationEvent Método

Definição

Inicia um evento de notificação.

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)

Parâmetros

notificationKind
AutomationNotificationKind

Especifica o tipo da notificação.

notificationProcessing
AutomationNotificationProcessing

Especifica a ordem na qual processar a notificação.

displayString
String

Platform::String

winrt::hstring

Uma cadeia de caracteres de exibição que descreve o evento.

activityId
String

Platform::String

winrt::hstring

Uma cadeia de caracteres não localizada exclusiva para identificar uma ação ou um grupo de ações. Use isso para passar informações adicionais para o manipulador de eventos.

Requisitos do Windows

Família de dispositivos
Windows 10 Fall Creators Update (introduzida na 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v5.0)

Aplica-se a