Microsoft Windows 10 Unregister a background task

Unregisters a background task using BackgroundTaskRegistration.Unregister. Optionally cancels any currently running instance of the task.