/// <summary> /// The on load error. /// </summary> /// <param name="browser"> /// The browser. /// </param> /// <param name="frame"> /// The frame. /// </param> /// <param name="errorCode"> /// The error code. /// </param> /// <param name="errorText"> /// The error text. /// </param> /// <param name="failedUrl"> /// The failed url. /// </param> protected override void OnLoadError(CefBrowser browser, CefFrame frame, CefErrorCode errorCode, string errorText, string failedUrl) { _browser.InvokeAsyncIfPossible(() => _browser.OnLoadError(new LoadErrorEventArgs(frame, errorCode, errorText, failedUrl))); }