BackgroundTaskCanceledEventHandler BackgroundTaskCanceledEventHandler BackgroundTaskCanceledEventHandler BackgroundTaskCanceledEventHandler Delegate

Definition

Represents a method that handles the cancellation of a background task.

public : delegate void BackgroundTaskCanceledEventHandler(IBackgroundTaskInstance sender, BackgroundTaskCancellationReason reason)public delegate void BackgroundTaskCanceledEventHandler(IBackgroundTaskInstance sender, BackgroundTaskCancellationReason reason)Public Delegate BackgroundTaskCanceledEventHandler(sender As IBackgroundTaskInstance, reason As BackgroundTaskCancellationReason)// You can use this delegate in JavaScript.
Parameters
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)