共用方式為


interface ICoreWebView2ExecuteScriptWithResultCompletedHandler

interface ICoreWebView2ExecuteScriptWithResultCompletedHandler
  : public IUnknown

Receives the result of the ExecuteScriptWithResult method.

Summary

Members Descriptions
Invoke Provides the result of the corresponding asynchronous method.

Applies to

Product Introduced
WebView2 Win32 1.0.2277.86
WebView2 Win32 Prerelease 1.0.2357

Members

Invoke

Provides the result of the corresponding asynchronous method.

public HRESULT Invoke(HRESULT errorCode, ICoreWebView2ExecuteScriptResult * result)