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)

Syntax

Protected Friend Overrides Sub OnCancel
protected internal override void OnCancel()

Remarks

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()()().

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

ScheduledTaskAgent Class

Microsoft.Phone.Scheduler Namespace