interface ICoreWebView2WebResourceResponseViewGetContentCompletedHandler

Note

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

interface ICoreWebView2WebResourceResponseViewGetContentCompletedHandler
  : public IUnknown

Receives the result of the ICoreWebView2WebResourceResponseView::GetContent method.

Summary

Members Descriptions
Invoke Provides the completion status and result of the corresponding asynchronous method call.

Applies to

Product Introduced
WebView2 Win32 1.0.705.50
WebView2 Win32 Prerelease 1.0.721

Members

Invoke

Provides the completion status and result of the corresponding asynchronous method call.

public HRESULT Invoke(HRESULT errorCode, IStream * content)

A failure errorCode will be passed if the content failed to load. null means no content was found. Note content (if any) for redirect responses is ignored.