CefInitialize Method (CefSettings, Boolean, IBrowserProcessHandler) |
Version 55.0.0
Initializes CefSharp with user-provided settings.
It's important to note that Initialize/Shutdown MUST be called on your main
applicaiton thread (Typically the UI thead). If you call them on different
threads, your application will hang. See the documentation for Cef.Shutdown() for more details.
Namespace: CefSharpAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 55.0.0.0
Syntax public static bool Initialize(
CefSettings cefSettings,
bool performDependencyCheck,
IBrowserProcessHandler browserProcessHandler
)
public:
static bool Initialize(
CefSettings^ cefSettings,
bool performDependencyCheck,
IBrowserProcessHandler^ browserProcessHandler
)
Parameters
- cefSettings
- Type: CefSharpCefSettings
CefSharp configuration settings. - performDependencyCheck
- Type: SystemBoolean
Check that all relevant dependencies avaliable, throws exception if any are missing - browserProcessHandler
- Type: CefSharpIBrowserProcessHandler
[Missing <param name="browserProcessHandler"/> documentation for "M:CefSharp.Cef.Initialize(CefSharp.CefSettings,System.Boolean,CefSharp.IBrowserProcessHandler)"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:CefSharp.Cef.Initialize(CefSharp.CefSettings,System.Boolean,CefSharp.IBrowserProcessHandler)"]
See Also