共用方式為


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)

processFailedKind is COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED if the failed process is the main frame's renderer, even if there were subframes rendered by such process; all frames are gone when this happens.