interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler

Note

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

interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler
  : public IUnknown

Receives the result of the AddScriptToExecuteOnDocumentCreated method.

Summary

Members Descriptions
Invoke Provide 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 completion status and result of the corresponding asynchronous method.

public HRESULT Invoke(HRESULT errorCode, LPCWSTR id)