OnCancel Method
Collapse the table of content
Expand the table of content

ScheduledTaskAgent.OnCancel Method

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

Not supported.

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

'Declaration
Protected Friend Overrides Sub OnCancel

This method, inherited from BackgroundAgent, is not supported for ScheduledTaskAgent objects. Background audio agents do use this method. For more information, see the AudioStreamingAgent method, OnCancel.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft