Click or drag to resize

INavigationLoadUrl Method (String)

Navigates to a resource identified by a URL.

Namespace:  DotNetBrowser.Navigation
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.26.2
Syntax
C#
Task<NavigationResult> LoadUrl(
	string url
)

Parameters

url
Type: SystemString
The URL of the resource to load. Cannot be null, empty or contain only white space.

Return Value

Type: TaskNavigationResult
A task that represents the asynchronous loading operation. The NavigationResult indicates if the loading operation has been completed, stopped or failed. The task can throw if the loading operation hasn't been completed within a default timeout (100 seconds).
Exceptions
ExceptionCondition
ArgumentExceptionThe urlis null, empty or contain only white space.
ObjectDisposedExceptionThe INavigation has already been disposed.
See Also