CoreWebView2ProcessFailedKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the process failure type used in the
ICoreWebView2ProcessFailedEventArgs
interface. 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
Name | Value | Description |
---|---|---|
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. |
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
|
RenderProcessUnresponsive | 2 | Indicates that the main frame's render process is unresponsive. Renderer process unresponsiveness can happen for the following reasons: There is a long-running script being executed. For example, the web content in your WebView might be performing a synchronous XHR, or have entered an infinite loop. Or, the system is busy. The ProcessFailed event will continue to be raised every few seconds until the renderer process has become responsive again. The application can consider taking action if the event keeps being raised. For example, the application might show UI for the user to decide to keep waiting or reload the page, or navigate away. |
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
|
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 |
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 |
GpuProcessExited | 6 | Indicates that the GPU process ended unexpectedly. The failed process
is recreated automatically. Your application does not need to handle
recovery for this event, but can use |
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 |
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 |
UnknownProcessExited | 9 | Indicates that a process of unspecified kind ended unexpectedly. Your
application can use |
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.