Partager via


interface ICoreWebView2ProcessFailedEventArgs

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

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 * 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.