ScheduledTaskAgent.OnCancel Method
This member overrides BackgroundAgent.OnCancel().
Namespace: Microsoft.Phone.Scheduler
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Protected Friend Overrides Sub OnCancel
protected internal override void OnCancel()
protected public:
virtual void OnCancel() override
abstract OnCancel : unit -> unit
override OnCancel : unit -> unit
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.