description | title | ms.date | keywords | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Event args for the `ProcessFailed` event. |
WebView2 Win32 C++ ICoreWebView2ProcessFailedEventArgs |
04/22/2024 |
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2ProcessFailedEventArgs |
|
|
|
|
[!INCLUDE deprecation-note]
interface ICoreWebView2ProcessFailedEventArgs
: public IUnknown
Event args for the ProcessFailed
event.
Members | Descriptions |
---|---|
get_ProcessFailedKind | The kind of process failure that has occurred. |
Product | Introduced |
---|---|
WebView2 Win32 | 0.9.430 |
WebView2 Win32 Prerelease | 0.9.488 |
The kind of process failure that has occurred.
public HRESULT get_ProcessFailedKind(COREWEBVIEW2_PROCESS_FAILED_KIND * processFailedKind)
This is a combination of process kind (for example, browser, renderer, gpu) and failure (exit, unresponsiveness). Renderer processes are further divided in main frame renderer (RenderProcessExited
, RenderProcessUnresponsive
) and subframe renderer (FrameRenderProcessExited
). To learn about the conditions under which each failure kind occurs, see COREWEBVIEW2_PROCESS_FAILED_KIND
.