Jaa


WebViewExecutionMode Enum

Definition

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

public enum class WebViewExecutionMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WebViewExecutionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WebViewExecutionMode
Public Enum WebViewExecutionMode
Inheritance
WebViewExecutionMode
Attributes

Windows requirements

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

Fields

Name Value Description
SameThread 0

Content is hosted on the UI thread.

SeparateThread 1

Content is hosted on a background thread.

SeparateProcess 2

Content is hosted on a separate process off the app process. All of an app's WebView instances share the same separate process, there is not a separate process per WebView instance.

Remarks

Version history

Windows version SDK version Value added
1803 17134 SeparateProcess

Applies to