ScheduledTask.Description Property

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

Gets or sets the description of the ScheduledTask. This string is displayed to the user in the Background Tasks settings page on the device.

Namespace:  Microsoft.Phone.Scheduler
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property Description As String
public string Description { get; set; }
<object Description="string" .../>

Property Value

Type: System..::.String
The description of the ScheduledTask.

Remarks

This field is required for Periodic Agents. Set this to a non-empty string before calling Add(ScheduledAction) or an exception will be thrown.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

ScheduledTask Class

Microsoft.Phone.Scheduler Namespace