Click or drag to resize

CefThreadIds Enumeration

Version 101.0.180
Managed enum for cef_thread_id_t/CefThreadId

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public enum CefThreadIds
Members
  Member nameValueDescription
TID_UI0 The CEF UI thread in the browser. In CefSharp this is by default different from your main applications UI Thread (e.g. WPF/WinForms UI Threads). Only when MultiThreadedMessageLoop is false will this be the same as your app UI Thread.
TID_FILE_BACKGROUND1 Used for blocking tasks (e.g. file system access) where the user won't notice if the task takes an arbitrarily long time to complete. All tasks posted after OnContextInitialized and before Cef.Shutdown() are guaranteed to run.
TID_FILE_USER_VISIBLE2 Used for blocking tasks (e.g. file system access) that affect UI or responsiveness of future user interactions. Do not use if an immediate response to a user interaction is expected. All tasks posted after OnContextInitialized and before Cef.Shutdown() are guaranteed to run. Examples: - Updating the UI to reflect progress on a long task. - Loading data that might be shown in the UI after a future user interaction.
TID_FILE_USER_BLOCKING3 Used for blocking tasks (e.g. file system access) that affect UI immediately after a user interaction. All tasks posted after OnContextInitialized and before Cef.Shutdown() are guaranteed to run. Example: Generating data shown in the UI immediately after a click.
TID_PROCESS_LAUNCHER4 Used to launch and terminate browser processes.
TID_IO5 Used to process IPC and network messages. Do not perform blocking tasks on this thread. All tasks posted after OnContextInitialized and before Cef.Shutdown() are guaranteed to run.
TID_RENDERER6 The main thread in the renderer. Used for all WebKit and V8 interaction. Tasks may be posted to this thread after CefRenderProcessHandler::OnWebKitInitialized but are not guaranteed to run before sub-process termination (sub-processes may be killed at any time without warning).
See Also