ChromiumWebBrowserConsoleMessage Event |
Version 88.2.90
Event handler for receiving Javascript console messages being sent from web pages.
It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI
thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang..
To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
(The exception to this is when you're running with settings.MultiThreadedMessageLoop = false, then they'll be the same thread).
Namespace:
CefSharp.Wpf
Assembly:
CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax public event EventHandler<ConsoleMessageEventArgs> ConsoleMessage
public:
virtual event EventHandler<ConsoleMessageEventArgs^>^ ConsoleMessage {
void add (EventHandler<ConsoleMessageEventArgs^>^ value);
void remove (EventHandler<ConsoleMessageEventArgs^>^ value);
}
Value
Type:
SystemEventHandlerConsoleMessageEventArgsImplements
IWebBrowserConsoleMessageSee Also