Freigeben über


interface ICoreWebView2ExperimentalWebResourceResponseViewGetContentCompletedHandler

Note

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

Note

This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.

interface ICoreWebView2ExperimentalWebResourceResponseViewGetContentCompletedHandler
  : public IUnknown

The caller implements this interface to receive the result of the ICoreWebView2WebResourceResponseView::GetContent method.

Summary

Members Descriptions
Invoke Called to provide the implementer with the completion status and result of the corresponding asynchronous method call.

Members

Invoke

Called to provide the implementer with 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.