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.23.2
Syntax 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 Exception | Condition |
---|
ArgumentNullException | The parameters is null. |
ObjectDisposedException | The INavigation has already been disposed. |
See Also