ChromiumWebBrowser Constructor (String, BrowserSettings, IRequestContext, Boolean) |
Version 84.4.10
Namespace:
CefSharp.OffScreen
Assembly:
CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 84.4.10.0 (84.4.10.0)
Syntax public ChromiumWebBrowser(
string address = "",
BrowserSettings browserSettings = null,
IRequestContext requestContext = null,
bool automaticallyCreateBrowser = true
)
public:
ChromiumWebBrowser(
String^ address = L"",
BrowserSettings^ browserSettings = nullptr,
IRequestContext^ requestContext = nullptr,
bool automaticallyCreateBrowser = true
)
Parameters
- address (Optional)
- Type: SystemString
Initial address (url) to load - browserSettings (Optional)
- Type: CefSharpBrowserSettings
The browser settings to use. If null, the default settings are used. - requestContext (Optional)
- Type: CefSharpIRequestContext
See RequestContext for more details. Defaults to null - automaticallyCreateBrowser (Optional)
- Type: SystemBoolean
automatically create the underlying Browser
Exceptions Exception | Condition |
---|
InvalidOperationException | Cef::Initialize() failed |
See Also