ServiceAgent.OnCancel Method
This member overrides BackgroundAgent.OnCancel().
Namespace: Microsoft.Phone.DeviceManufacturers
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Protected Friend Overrides NotOverridable Sub OnCancel
protected internal override sealed void OnCancel()
protected public:
virtual void OnCancel() override sealed
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.