Click or drag to resize

INavigationLoadUrl Method (LoadUrlParameters, TimeSpan)

Navigates to a resource identified by the given LoadUrlParameters, with the specified timout.

Namespace:  DotNetBrowser.Navigation
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.4
Syntax
C#
Task<NavigationResult> LoadUrl(
	LoadUrlParameters parameters,
	TimeSpan timeout
)

Parameters

parameters
Type: DotNetBrowser.NavigationLoadUrlParameters
The parameters such as URL, POST data, and HTTP headers.
timeout
Type: SystemTimeSpan
The timeout for the loading operation.

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 timeout.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe parameters is null.
ObjectDisposedExceptionThe INavigation has already been disposed.
See Also