Task.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.
This Run method gets invoked as the background task executes.
virtual void Windows.ApplicationModel.Background.IBackgroundTask.Run(IBackgroundTaskInstance ^ taskInstance) = Run;
void Windows.ApplicationModel.Background.IBackgroundTask.Run(IBackgroundTaskInstance const& taskInstance);
void IBackgroundTask.Run(IBackgroundTaskInstance taskInstance);
function windows.ApplicationModel.Background.IBackgroundTask.Run(taskInstance)
Sub Run (taskInstance As IBackgroundTaskInstance) Implements IBackgroundTask.Run
Parameters
- taskInstance
- IBackgroundTaskInstance
The task instance that is passed to the background task by the system.