IBackgroundTask IBackgroundTask IBackgroundTask Interface
Provides a method to perform the work of a background task.
public : interface IBackgroundTask
public interface IBackgroundTask
Public Interface IBackgroundTask
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
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.
public : void Run(IBackgroundTaskInstance taskInstance)
public void Run(IBackgroundTaskInstance taskInstance)
Public Function Run(taskInstance As IBackgroundTaskInstance) As void
An interface to an instance of the background task. The system creates this instance when the task has been triggered to run.