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)

protected internal override void 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

© 2015 Microsoft