IBackgroundTaskRegistration IBackgroundTaskRegistration IBackgroundTaskRegistration IBackgroundTaskRegistration IBackgroundTaskRegistration Interface


Provides access to a registered background task.

public : interface IBackgroundTaskRegistration
struct winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration
public interface IBackgroundTaskRegistration
Public Interface IBackgroundTaskRegistration
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Name Name Name Name Name

Gets the name of a registered background task.

TaskId TaskId TaskId TaskId TaskId

Gets the identifier of a registered background task.


Unregister(Boolean) Unregister(Boolean) Unregister(Boolean) Unregister(Boolean) Unregister(Boolean)

Unregisters a registered background task.


Completed Completed Completed Completed Completed

Attaches a completed event handler to the registered background task.

Progress Progress Progress Progress Progress

Attaches a progress event handler to the registered background task.