IBackgroundTask IBackgroundTask IBackgroundTask IBackgroundTask Interface

Definition

Provides a method to perform the work of a background task.

public : interface IBackgroundTask
struct winrt::Windows::ApplicationModel::Background::IBackgroundTask
public interface IBackgroundTask
Public Interface IBackgroundTask
Attributes

Windows 10 requirements

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

Methods

Run(IBackgroundTaskInstance) Run(IBackgroundTaskInstance) Run(IBackgroundTaskInstance) Run(IBackgroundTaskInstance)

Performs the work of a background task. The system calls this method when the associated background task has been triggered.