共用方式為


interface ICoreWebView2FramePermissionRequestedEventHandler

Note

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

interface ICoreWebView2FramePermissionRequestedEventHandler
  : public IUnknown

Receives PermissionRequested events.

Summary

Members Descriptions
Invoke Provides the event args for the corresponding event.

Applies to

Product Introduced
WebView2 Win32 1.0.1185.39
WebView2 Win32 Prerelease 1.0.1158

Members

Invoke

Provides the event args for the corresponding event.

public HRESULT Invoke(ICoreWebView2Frame * sender, ICoreWebView2PermissionRequestedEventArgs2 * args)