Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IBackgroundTaskRegistration Interface

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides access to a registered background task.

public interface class IBackgroundTaskRegistration
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(275074242, 41582, 17343, 140, 18, 31, 180, 13, 191, 191, 160)]
struct IBackgroundTaskRegistration
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(275074242, 41582, 17343, 140, 18, 31, 180, 13, 191, 191, 160)]
public interface IBackgroundTaskRegistration
Public Interface IBackgroundTaskRegistration
Derived
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Name Description
Name

Gets the name of a registered background task.

TaskId

Gets the identifier of a registered background task.

Methods

Name Description
Unregister(Boolean)

Unregisters a registered background task.

Events

Name Description
Completed

Attaches a completed event handler to the registered background task.

Progress

Attaches a progress event handler to the registered background task.

Applies to


Feedback

Was this page helpful?