Click or drag to resize

ChromiumHostControlLoadUrlAsync Method

Version 101.0.180
Load the url in the main frame of the browser

Namespace:  CefSharp.WinForms.Host
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public Task<LoadUrlAsyncResponse> LoadUrlAsync(
	string url
)

Parameters

url
Type: SystemString
url to load

Return Value

Type: TaskLoadUrlAsyncResponse
A TaskTResult that can be awaited to load the url and return the HttpStatusCode and CefErrorCode. A HttpStatusCode equal to 200 and None is considered a success.

Implements

IChromiumWebBrowserBaseLoadUrlAsync(String)
See Also