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.13.0
Syntax
C#
Task<LoadResult> 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: TaskLoadResult
A task that represents the asynchronous loading operation. The LoadResult 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