共用方式為


interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler

Note

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

interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler
  : public IUnknown

The caller implements this interface to receive the result of the AddScriptToExecuteOnDocumentCreated 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 id)