共用方式為


interface ICoreWebView2ContentLoadingEventArgs

Note

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

interface ICoreWebView2ContentLoadingEventArgs
  : public IUnknown

Event args for the ContentLoading event.

Summary

Members Descriptions
get_IsErrorPage TRUE if the loaded content is an error page.
get_NavigationId The ID of the navigation.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

get_IsErrorPage

TRUE if the loaded content is an error page.

public HRESULT get_IsErrorPage(BOOL * isErrorPage)

get_NavigationId

The ID of the navigation.

public HRESULT get_NavigationId(UINT64 * navigationId)