interface ICoreWebView2ProcessFailedEventArgs

interface ICoreWebView2ProcessFailedEventArgs
  : public IUnknown

Event args for the ProcessFailed event.

Summary

Members Descriptions
get_ProcessFailedKind The kind of process failure that has occurred.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

get_ProcessFailedKind

The kind of process failure that has occurred.

public HRESULT get_ProcessFailedKind(COREWEBVIEW2_PROCESS_FAILED_KIND * value)

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 (COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED, COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_UNRESPONSIVE) and subframe renderer (COREWEBVIEW2_PROCESS_FAILED_KIND_FRAME_RENDER_PROCESS_EXITED). To learn about the conditions under which each failure kind occurs, see COREWEBVIEW2_PROCESS_FAILED_KIND.