Share via


ToastNotificationTriggerDetails.InstanceId Property

Definition

Represents the unique identifier of the toast notification.

public:
 property Platform::String ^ InstanceId { Platform::String ^ get(); };
winrt::hstring InstanceId();
public string InstanceId { get; }
var string = toastNotificationTriggerDetails.instanceId;
Public ReadOnly Property InstanceId As String

Property Value

String

Platform::String

winrt::hstring

The string containing the identifier.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to