IBackgroundTask.Run(IBackgroundTaskInstance) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.