IBackgroundTaskRegistration3 IBackgroundTaskRegistration3 IBackgroundTaskRegistration3 IBackgroundTaskRegistration3 IBackgroundTaskRegistration3 Interface

Definition

Represents a background task that has been registered as part of a group of related background tasks.

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

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Properties

Name Name Name Name Name

Gets the name of a registered background task.

(Inherited from IBackgroundTaskRegistration)
TaskGroup TaskGroup TaskGroup TaskGroup TaskGroup

Gets the BackgroundTaskRegistrationGroup that this BackgroundTaskRegistration is a part of.

TaskId TaskId TaskId TaskId TaskId

Gets the identifier of a registered background task.

(Inherited from IBackgroundTaskRegistration)

Events

Completed Completed Completed Completed Completed

Attaches a completed event handler to the registered background task.

(Inherited from IBackgroundTaskRegistration)
Progress Progress Progress Progress Progress

Attaches a progress event handler to the registered background task.

(Inherited from IBackgroundTaskRegistration)

Methods

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

Unregisters a registered background task.

(Inherited from IBackgroundTaskRegistration)