IRenderProcessMessageHandler.OnContextReleased Method |
Version 57.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: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntaxvoid OnContextReleased(
IWebBrowser browserControl,
IBrowser browser,
IFrame frame
)
void OnContextReleased(
IWebBrowser^ browserControl,
IBrowser^ browser,
IFrame^ frame
)
Parameters
- browserControl
- Type: CefSharp.IWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharp.IBrowser
the browser object - frame
- Type: CefSharp.IFrame
The frame.
See Also