WebUIBackgroundTaskInstance WebUIBackgroundTaskInstance WebUIBackgroundTaskInstance WebUIBackgroundTaskInstance WebUIBackgroundTaskInstance Class

Definition

Represents an instance of a background task that has been triggered to run.

A background task must explicitly call the Web Workers close method to terminate itself after the task has completed.

public : static class WebUIBackgroundTaskInstance
static struct winrt::Windows::UI::WebUI::WebUIBackgroundTaskInstance
public static class WebUIBackgroundTaskInstance
Public Shared Class WebUIBackgroundTaskInstance
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

Remarks

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX)

.

Properties

Current Current Current Current Current

Gets the current background task.

See also