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
SyntaxTask<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| Exception | Condition |
|---|
| ObjectDisposedException | The IFrame object has already been disposed. |
| ArgumentNullException | The parameters is null. |
See Also