共用方式為


interface ICoreWebView2ExecuteScriptCompletedHandler

Note

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

interface ICoreWebView2ExecuteScriptCompletedHandler
  : public IUnknown

Receives the result of the ExecuteScript method.

Summary

Members Descriptions
Invoke Provide the implementer with the completion status and result of the corresponding asynchronous method.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

Invoke

Provide the implementer with the completion status and result of the corresponding asynchronous method.

public HRESULT Invoke(HRESULT errorCode, LPCWSTR resultObjectAsJson)