Click or drag to resize

IPermissionHandlerOnDismissPermissionPrompt Method

Version 130.1.90
Called when a permission prompt handled via OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback) is dismissed. result will be the value passed to Continue(PermissionRequestResult) or Ignore if the dialog was dismissed for other reasons such as navigation, browser closure, etc. This method will not be called if OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback) returned false for promptId.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
void OnDismissPermissionPrompt(
	IWebBrowser chromiumWebBrowser,
	IBrowser browser,
	ulong promptId,
	PermissionRequestResult result
)

Parameters

chromiumWebBrowser  IWebBrowser
The ChromiumWebBrowser control
browser  IBrowser
The browser object
promptId  UInt64
Will match the value that was passed to OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback).
result  PermissionRequestResult
will be the value passed to Continue(PermissionRequestResult) or Ignore if the dialog was dismissed for other reasons such as navigation, browser closure, etc. This method will not be called if OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback) returned false for promptId.
See Also