ScheduledTileNotification.ExpirationTime | expirationTime property

Applies to Windows and Windows Phone

Gets or sets the time after which the tile notification should no longer be shown. By default, a tile notification does not expire. It is a best practice to explicitly set an expiration time to avoid stale content.

Syntax


Public Property ExpirationTime As Nullable(Of DateTimeOffset)

Property value

Type: IReference<DateTime> [JavaScript/C++] | System.Nullable<DateTime> [.NET]

The time after which the tile update should no longer be shown.

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

ScheduledTileNotification
Scheduled notifications sample
Guidelines and checklist for scheduled notifications

 

 

Show:
© 2014 Microsoft