Jaa


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 class IWebUIBackgroundTaskInstance
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(603008037, 58103, 18241, 188, 156, 57, 69, 149, 222, 36, 220)]
struct IWebUIBackgroundTaskInstance
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(603008037, 58103, 18241, 188, 156, 57, 69, 149, 222, 36, 220)]
public interface IWebUIBackgroundTaskInstance
Public Interface IWebUIBackgroundTaskInstance
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

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.

Applies to