Click or drag to resize
IRenderProcessMessageHandlerOnContextReleased Method
Version 63.0.0
OnContextReleased is called in the Render process immediately before the CefV8Context is released. An IPC message is immediately sent to notify the context has been released (cannot execute javascript this point). If the page had no javascript then the context would not have been created and as a result this method will not be called. Currently only called for the Main frame IsMain

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax
void OnContextReleased(
	IWebBrowser browserControl,
	IBrowser browser,
	IFrame frame
)

Parameters

browserControl
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object
frame
Type: CefSharpIFrame
The frame.
See Also