IWebBrowserLoadUrlAsync Method |
Version 94.4.20
Load the url in the main frame of the browser
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax Task<LoadUrlAsyncResponse> LoadUrlAsync(
string url = null,
SynchronizationContext ctx = null
)
Task<LoadUrlAsyncResponse^>^ LoadUrlAsync(
String^ url = nullptr,
SynchronizationContext^ ctx = nullptr
)
Parameters
- url (Optional)
- Type: SystemString
url to load - ctx (Optional)
- Type: System.ThreadingSynchronizationContext
SynchronizationContext to execute the continuation on, if null then the ThreadPool will be used.
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.
See Also