Edit

Share via


NotificationActivator.INotificationActivationCallback.Activate Method

Definition

The method called when your notification is clicked.

public void Activate (string appUserModelId, string invokedArgs, Microsoft.Toolkit.Uwp.Notifications.NotificationActivator.NOTIFICATION_USER_INPUT_DATA[] data, uint dataCount);
abstract member Activate : string * string * Microsoft.Toolkit.Uwp.Notifications.NotificationActivator.NOTIFICATION_USER_INPUT_DATA[] * uint32 -> unit
Public Sub Activate (appUserModelId As String, invokedArgs As String, data As NotificationActivator.NOTIFICATION_USER_INPUT_DATA(), dataCount As UInteger)

Parameters

appUserModelId
String

The app id of the app that sent the toast.

invokedArgs
String

The activation arguments from the toast.

data
NotificationActivator.NOTIFICATION_USER_INPUT_DATA[]

The user input from the toast.

dataCount
UInt32

The number of user inputs.

Applies to