interface ICoreWebView2WebResourceResponseViewGetContentCompletedHandler
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. E_ABORT
means the response loading was blocked (e.g., by CORS policy); ERROR_CANCELLED
means the response loading was cancelled. ERROR_NO_DATA
means the response has no content data, content
is null
in this case. Note content (if any) is ignored for redirects, 204 No Content, 205 Reset Content, and HEAD-request responses.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기