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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for