IBackgroundTaskRegistration IBackgroundTaskRegistration IBackgroundTaskRegistration IBackgroundTaskRegistration IBackgroundTaskRegistration Interface

Definition

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.
Attributes

Windows 10 requirements

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

Properties

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.

Methods

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

Unregisters a registered background task.

Events

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.