Click or drag to resize

IFrameLoadUrl Method (String, TimeSpan)

Navigates the frame to a resource identified by the given url.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.0
Syntax
C#
Task<NavigationResult> LoadUrl(
	string url,
	TimeSpan timeout
)

Parameters

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

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 throws a if the loading operation hasn't been completed within the specified timeout.
Exceptions
ExceptionCondition
ArgumentExceptionthrown when urlis null, empty or contain only white space.
ObjectDisposedExceptionThe IFrame object has already been disposed.
See Also