IBackgroundTask.Run(IBackgroundTaskInstance) IBackgroundTask.Run(IBackgroundTaskInstance) IBackgroundTask.Run(IBackgroundTaskInstance) IBackgroundTask.Run(IBackgroundTaskInstance) Method

Definition

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)
void Run(IBackgroundTaskInstance taskInstance) const;
public void Run(IBackgroundTaskInstance taskInstance)
Public Sub Run(taskInstance As IBackgroundTaskInstance)

Parameters

taskInstance
IBackgroundTaskInstance IBackgroundTaskInstance

An interface to an instance of the background task. The system creates this instance when the task has been triggered to run.