NotificationActivator.INotificationActivationCallback.Activate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The user input from the toast.
- dataCount
- UInt32
The number of user inputs.