Click or drag to resize

IFrameLoadData Method

Navigates the frame to the resource that may represent different content described by the given parameters.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.1.0
Syntax
C#
Task<LoadResult> LoadData(
	LoadDataParameters parameters
)

Parameters

parameters
Type: DotNetBrowser.FramesLoadDataParameters
parameters such as text of the content to load, its text encoding, mime type, etc. Cannot be null.

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 throws a if the loading operation hasn't been completed within a default timeout (100 seconds).
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IFrame object has already been disposed.
ArgumentNullExceptionThe parameters is null.
See Also