BackgroundTaskRegistration.Unregister | unregister method
Cancels the registration of a registered background task.
Syntax
backgroundTaskRegistration.unregister(cancelTask);
Parameters
- cancelTask
-
Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]
True if currently running instances of this background task should be canceled. If this parameter is false, currently running instances are allowed to finish. Canceled instances receive a Canceled event with a cancellation reason of Abort.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
