共用方式為


interface IWebView2ExecuteScriptCompletedHandler

Note

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

interface IWebView2ExecuteScriptCompletedHandler
  : public IUnknown

The caller implements this interface to receive the result of the ExecuteScript method.

Summary

Members Descriptions
Invoke Called to provide the implementer with the completion status and result of the corresponding asynchronous method call.

Members

Invoke

Called to provide the implementer with the completion status and result of the corresponding asynchronous method call.

public HRESULT Invoke(HRESULT errorCode,LPCWSTR resultObjectAsJson)