WebViewThreadingOption enumeration

[This API is for evaluation purposes only and is subject to change or removal.]

[This documentation is preliminary and is subject to change.]

Defines constants that specify whether WebView hosts HTML content on the UI thread or on a non-UI thread.

Syntax

public enum WebViewThreadingOption
Public Enum WebViewThreadingOption
public enum class WebViewThreadingOption

Attributes

[Experimental()]

[Version]

[WebHostHidden()]

Members

The WebViewThreadingOption enumeration has these members.

Member Value Description
OnThread 0

Content is hosted on the UI thread.

OffThread 1

Content is hosted on a background thread.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd