AutomationPeer.RaiseNotificationEvent Método

Definición

Inicia un evento de notificación.

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 el tipo de la notificación.

notificationProcessing
AutomationNotificationProcessing

Especifica el orden en el que se va a procesar la notificación.

displayString
String

Platform::String

winrt::hstring

Cadena de presentación que describe el evento.

activityId
String

Platform::String

winrt::hstring

Cadena única no localizada para identificar una acción o un grupo de acciones. Úselo para pasar información adicional al controlador de eventos.

Requisitos de Windows

Familia de dispositivos
Windows 10 Fall Creators Update (se introdujo en la versión 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v5.0)

Se aplica a