This topic has not yet been rated - Rate this topic

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

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

BackgroundTaskRegistration

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.