Movatterモバイル変換


[0]ホーム

URL:


CefSharp API Doc
CefSharp API Doc
Namespaces
CefSharp
ILoadHandler Interface
ILoadHandler Methods
Click or drag to resizeClick or drag to resize

ILoadHandler Interface

Version 118.6.80
Implement this interface to handle events related to browser load status. The methods of this interface will be called on the CEF UI thread. Blocking in these methods will likely cause your UI to become unresponsive and/or hang.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
publicinterfaceILoadHandler
publicinterface classILoadHandler

TheILoadHandler type exposes the following members.

Methods
 NameDescription
Public methodOnFrameLoadEnd
Called when the browser is done loading a frame. TheFrame value will never be empty Check theIsMain method to see if this frame is the main frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method will always be called for all frames irrespective of whether the request completes successfully. This method will be called on the CEF UI thread. Blocking this thread will likely cause your UI to become unresponsive and/or hang.
Public methodOnFrameLoadStart
Called when the browser begins loading a frame. TheFrame value will never be empty Check theIsMain method to see if this frame is the main frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method may not be called for a particular frame if the load request for that frame fails. For notification of overall browser load status useOnLoadingStateChange(IWebBrowser, LoadingStateChangedEventArgs) instead. This method will be called on the CEF UI thread. Blocking this thread will likely cause your UI to become unresponsive and/or hang.
Public methodOnLoadError
Called when the resource load for a navigation fails or is canceled.ErrorCode is the error code number,ErrorText is the error text andFailedUrl is the URL that failed to load. See net\base\net_error_list.h for complete descriptions of the error codes. This method will be called on the CEF UI thread. Blocking this thread will likely cause your UI to become unresponsive and/or hang.
Public methodOnLoadingStateChange
Called when the loading state has changed. This callback will be executed twice once when loading is initiated either programmatically or by user action, and once when loading is terminated due to completion, cancellation of failure. This method will be called on the CEF UI thread. Blocking this thread will likely cause your UI to become unresponsive and/or hang.
Top
See Also

Reference

CefSharp Namespace

https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE


[8]ページ先頭

©2009-2025 Movatter.jp