-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Background.IBackgroundTaskRegistration.Unregister(System.Boolean) |
winrt method |
Unregisters a registered background task.
True if currently running instances of this background task should be canceled. If this parameter is false, currently running instances of this background task should be allowed to finish. Canceled instances receive a Canceled event with a BackgroundTaskCancellationReason of Abort.