Läs på engelska

Dela via


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.

C#
public void Run(IBackgroundTaskInstance taskInstance);

Parameters

taskInstance
IBackgroundTaskInstance

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

Applies to