ScheduledAction.ExpirationTime Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the time at which the action’s schedule expires.

Namespace:  Microsoft.Phone.Scheduler
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public Overridable Property ExpirationTime As DateTime
public virtual DateTime ExpirationTime { get; set; }

Property Value

Type: System..::.DateTime
Type: DateTime. The time at which the action’s schedule expires.

Remarks

The action will not be invoked after the expiration time has been reached. The action is scheduled to trigger based on the BeginTime property. However, if this time is missed, for example, if the phone was turned off, the expiration time will prevent the action from displaying. The time value should be in the device’s local time.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

ScheduledAction Class

Microsoft.Phone.Scheduler Namespace