Megosztás a következőn keresztül:


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

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