CoreWebView2ProcessFailedKind Enum

Definition

Specifies the process failure kind used in CoreWebView2ProcessFailedEventArgs. The values in this enum make reference to the process kinds in the Chromium architecture. For more information about what these processes are and what they do, see Browser Architecture - Inside look at modern web browser.

public enum CoreWebView2ProcessFailedKind
type CoreWebView2ProcessFailedKind = 
Public Enum CoreWebView2ProcessFailedKind
Inheritance
CoreWebView2ProcessFailedKind

Fields

BrowserProcessExited 0

Indicates that the browser process ended unexpectedly. The WebView automatically moves to the Closed state. The app has to recreate a new WebView to recover from this failure.

FrameRenderProcessExited 3

Indicates that a frame-only render process ended unexpectedly. The process exit does not affect the top-level document, only a subset of the subframes within it. The content in these frames is replaced with an error page in the frame. Your application can communicate with the main frame to recover content in the impacted frames, using FrameInfosForFailedProcess to get information about the impacted frames.

GpuProcessExited 6

Indicates that the GPU process ended unexpectedly. The failed process is recreated automatically. This failure is not fatal. Your application does not need to handle recovery for this event, but can use CoreWebView2ProcessFailedEventArgs to collect information about the failure.

PpapiBrokerProcessExited 8

Indicates that a PPAPI plugin broker process ended unexpectedly. This failure is not fatal. Your application does not need to handle recovery for this event, but can use CoreWebView2ProcessFailedEventArgs to collect information about the failure.

PpapiPluginProcessExited 7

Indicates that a PPAPI plugin process ended unexpectedly. This failure is not fatal. Your application does not need to handle recovery for this event, but can use CoreWebView2ProcessFailedEventArgs to collect information about the failure, including ProcessDescription.

RenderProcessExited 1

Indicates that the main frame's render process ended unexpectedly. Any subframes in the WebView will be gone too. A new render process is created automatically and navigated to an error page. You can use the Reload() method to try to recover from this failure. Alternatively, you can use Close() and recreate the WebView.

RenderProcessUnresponsive 2

Indicates that the main frame's render process is unresponsive.

SandboxHelperProcessExited 5

Indicates that a sandbox helper process ended unexpectedly. This failure is not fatal. Your application does not need to handle recovery for this event, but can use CoreWebView2ProcessFailedEventArgs to collect information about the failure.

UnknownProcessExited 9

Indicates that a process of unspecified kind ended unexpectedly. Your application can use CoreWebView2ProcessFailedEventArgs to collect information about the failure.

UtilityProcessExited 4

Indicates that a utility process ended unexpectedly. The failed process is recreated automatically. Your application does not need to handle recovery for this event, but can use CoreWebView2ProcessFailedEventArgs to collect information about the failure, including ProcessDescription.

Remarks

The values in this enum make reference to the process kinds in the Chromium architecture. For more information about what these processes are and what they do, see Browser Architecture - Inside look at modern web browser.

Applies to