WebBrowserExtensionsLoadUrlAsync Method |
Version 92.0.260
Load the url in the main frame of the browser
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.0)
Syntax public static Task<LoadUrlAsyncResponse> LoadUrlAsync(
IWebBrowser chromiumWebBrowser,
string url = null,
SynchronizationContext ctx = null
)
public:
static Task<LoadUrlAsyncResponse^>^ LoadUrlAsync(
IWebBrowser^ chromiumWebBrowser,
String^ url = nullptr,
SynchronizationContext^ ctx = nullptr
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
ChromiumWebBrowser instance (cannot be null) - 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:
TaskLoadUrlAsyncResponseSee
LoadUrlAsync(String, SynchronizationContext) for details
See Also