共用方式為


interface ICoreWebView2ExecuteScriptCompletedHandler

interface ICoreWebView2ExecuteScriptCompletedHandler
  : public IUnknown

Receives the result of the ExecuteScript method.

Summary

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

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

Invoke

Provides the result of the corresponding asynchronous method.

public HRESULT Invoke(HRESULT errorCode, LPCWSTR result)