IFrameLoadHtml Method (LoadHtmlParameters) |
Navigates the frame to the resource that represents HTML document described by the given
parameters.
Namespace:
DotNetBrowser.Frames
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.1.0
SyntaxTask<LoadResult> LoadHtml(
LoadHtmlParameters parameters
)
Parameters
- parameters
- Type: DotNetBrowser.FramesLoadHtmlParameters
parameters such as HTML and the base URL of the document to load. 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 |
|---|
| ArgumentNullException | thrown when parameters is null. |
| ObjectDisposedException | The IFrame object has already been disposed. |
See Also