description | title | ms.date | keywords | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Implements the interface to receive `StateChanged` event. |
WebView2 Win32 C++ ICoreWebView2StateChangedEventHandler |
05/20/2024 |
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2StateChangedEventHandler |
|
|
|
|
[!INCLUDE deprecation-note]
interface ICoreWebView2StateChangedEventHandler
: public IUnknown
Implements the interface to receive StateChanged
event.
Members | Descriptions |
---|---|
Invoke | Provides the event args for the corresponding event. |
Use the ICoreWebView2DownloadOperation.State
property to get the current state, which can be in progress, interrupted, or completed. Use the ICoreWebView2DownloadOperation.InterruptReason
property to get the interrupt reason if the download is interrupted.
Product | Introduced |
---|---|
WebView2 Win32 | 1.0.902.49 |
WebView2 Win32 Prerelease | 1.0.902 |
Provides the event args for the corresponding event.
public HRESULT Invoke(ICoreWebView2DownloadOperation * sender, IUnknown * args)
No event args exist and the args
parameter is set to null
.