FrameHandlerOnFrameDetached Method |
Version 107.1.120
Called when a frame loses its connection to the renderer process and will
be destroyed. Any pending or future commands will be discarded and
IsValid will now return
false for
frame. If called after
OnBeforeClose(IWebBrowser, IBrowser) during browser destruction then
IsValid will return
false for
browser.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax protected virtual void OnFrameDetached(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame
)
protected:
virtual void OnFrameDetached(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
the ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - frame
- Type: CefSharpIFrame
the frame object
See Also