Task.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.
A method that runs a provided background task.
public:
virtual void Run(IBackgroundTaskInstance ^ taskInstance) = Run;
void Run(IBackgroundTaskInstance const& taskInstance);
public void Run(IBackgroundTaskInstance taskInstance);
function run(taskInstance)
Public Sub Run (taskInstance As IBackgroundTaskInstance)
Parameters
- taskInstance
- IBackgroundTaskInstance
A background task instance to run.