Edit

Share via


ToastButton.SetHintActionId(String) Method

Definition

Sets an identifier used in telemetry to identify your category of action. This should be something like "Delete", "Reply", or "Archive". In the upcoming toast telemetry dashboard in Dev Center, you will be able to view how frequently your actions are being clicked.

public Microsoft.Toolkit.Uwp.Notifications.ToastButton SetHintActionId(string actionId);
member this.SetHintActionId : string -> Microsoft.Toolkit.Uwp.Notifications.ToastButton
Public Function SetHintActionId (actionId As String) As ToastButton

Parameters

actionId
String

An identifier used in telemetry to identify your category of action.

Returns

The current instance of ToastButton

Applies to