Share via


IBackgroundTaskRegistration3 Interface

Definition

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

public interface class IBackgroundTaskRegistration3 : IBackgroundTaskRegistration
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Guid(4264788373, 37923, 19851, 131, 13, 177, 221, 44, 123, 173, 213)]
struct IBackgroundTaskRegistration3 : IBackgroundTaskRegistration
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Guid(4264788373, 37923, 19851, 131, 13, 177, 221, 44, 123, 173, 213)]
public interface IBackgroundTaskRegistration3 : IBackgroundTaskRegistration
Public Interface IBackgroundTaskRegistration3
Implements IBackgroundTaskRegistration
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Properties

Name

Gets the name of a registered background task.

(Inherited from IBackgroundTaskRegistration)
TaskGroup

Gets the BackgroundTaskRegistrationGroup that this BackgroundTaskRegistration is a part of.

TaskId

Gets the identifier of a registered background task.

(Inherited from IBackgroundTaskRegistration)

Methods

Unregister(Boolean)

Unregisters a registered background task.

(Inherited from IBackgroundTaskRegistration)

Events

Completed

Attaches a completed event handler to the registered background task.

(Inherited from IBackgroundTaskRegistration)
Progress

Attaches a progress event handler to the registered background task.

(Inherited from IBackgroundTaskRegistration)

Applies to