IWebUIBackgroundTaskInstance IWebUIBackgroundTaskInstance IWebUIBackgroundTaskInstance IWebUIBackgroundTaskInstance IWebUIBackgroundTaskInstance Interface

Definition

Provides access to an instance of a background task.

Note

Once the background task sets this property and has therefore completed its work, the task must explicitly call the Web Workers close method to terminate itself.

public : interface IWebUIBackgroundTaskInstance
struct winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance
public interface IWebUIBackgroundTaskInstance
Public Interface IWebUIBackgroundTaskInstance
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Succeeded Succeeded Succeeded Succeeded Succeeded

Gets or sets the success value for the background task. The success value is what is returned to the foreground instance of your app in the completed event.