Condividi tramite


AutomationPeer.RaiseNotificationEvent Metodo

Definizione

Avvia un evento di notifica.

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)

Parametri

notificationKind
AutomationNotificationKind

Specifica il tipo di notifica.

notificationProcessing
AutomationNotificationProcessing

Specifica l'ordine in cui elaborare la notifica.

displayString
String

Platform::String

winrt::hstring

Stringa di visualizzazione che descrive l'evento.

activityId
String

Platform::String

winrt::hstring

Stringa univoca non localizzata per identificare un'azione o un gruppo di azioni. Usare questa opzione per passare informazioni aggiuntive al gestore eventi.

Requisiti Windows

Famiglia di dispositivi
Windows 10 Fall Creators Update (è stato introdotto in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v5.0)

Si applica a