ScheduledTask.BeginTime Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
This property is not supported for ScheduledTask objects in the current version.
Namespace: Microsoft.Phone.Scheduler
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Overrides Property BeginTime As DateTime
public override DateTime BeginTime { get; set; }
Property Value
Type: System..::.DateTime
Not supported.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | This property is not supported for ScheduledTask objects. |
Remarks
ScheduledAction, the base class for ScheduledTask, exposes the BeginTime property, indicating the time at which the schedule starts. In the current version of Windows Phone, scheduled tasks cannot specify a begin time. The execution schedule for these objects begins as soon as they are added. Attempting to set this property will throw an exception. For more information about using scheduled actions, see Background agents for Windows Phone 8.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone