共用方式為


interface ICoreWebView2Deferral

Note

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

interface ICoreWebView2Deferral
  : public IUnknown

This interface is used to complete deferrals on event args that support getting deferrals using the GetDeferral method.

Summary

Members Descriptions
Complete Completes the associated deferred event.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

Complete

Completes the associated deferred event.

public HRESULT Complete()

Complete should only be run once for each deferral taken.