ScheduledToastNotification.MaximumSnoozeCount | maximumSnoozeCount property

Applies to Windows and Windows Phone

Gets the maximum number of times to display this notification.

Syntax


var maximumSnoozeCount = scheduledToastNotification.maximumSnoozeCount;

Property value

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The maximum number of times to display this notification. This will be a value between 1 and 5, inclusive.

Remarks

Note that this is the number of repeat showings specified when the ScheduledToastNotification is created. It is not the number of showings remaining if the toast has already been shown. There is no method to directly retrieve that information.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.winmd

See also

ScheduledToastNotification
Scheduled notifications sample
Toast schema
Guidelines and checklist for scheduled notifications

 

 

Show:
© 2014 Microsoft. All rights reserved.