interface ICoreWebView2ExperimentalBrowserExtensionEnableCompletedHandler

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 ICoreWebView2ExperimentalBrowserExtensionEnableCompletedHandler
  : public IUnknown

The caller implements this interface to receive the result of setting the browser Extension as enabled or disabled.

Summary

Members Descriptions
Invoke Provides the result of the browser extension enable operation.

If enabled, the browser Extension is running in WebView instances. If disabled, the browser Extension is not running in WebView instances.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.1988

Members

Invoke

Provides the result of the browser extension enable operation.

public HRESULT Invoke(HRESULT errorCode)