WebUIBackgroundTaskInstanceRuntimeClass.GetDeferral 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.
Informs the system that the background task might continue to perform work after the IBackgroundTask.Run method returns. This method is not applicable to JavaScript background tasks.
public:
virtual BackgroundTaskDeferral ^ GetDeferral() = GetDeferral;
BackgroundTaskDeferral GetDeferral();
public BackgroundTaskDeferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As BackgroundTaskDeferral
Returns
A background task deferral.
Implements
Remarks
This method is not applicable for background tasks written in JavaScript. JavaScript background tasks use the Web Workers close method to finish the task after all asynchronous operations have completed.