Compartilhar via


interface ICoreWebView2StateChangedEventHandler

Note

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

interface ICoreWebView2StateChangedEventHandler
  : public IUnknown

Implements the interface to receive StateChanged event.

Summary

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.

Applies to

Product Introduced
WebView2 Win32 1.0.902.49
WebView2 Win32 Prerelease 1.0.902

Members

Invoke

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.