HTMLDocument
HTMLDocument()
Initializes a new instance of the HTMLDocument
class.
See Also
Initializes a new instance of the HTMLDocument
class.
public HTMLDocument(Configuration configuration)
Parameter | Type | Description |
---|
configuration | Configuration | The environment configuration. |
See Also
HTMLDocument(Url)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(Url url)
Parameter | Type | Description |
---|
url | Url | The document URL. |
See Also
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(Url url, Configuration configuration)
Parameter | Type | Description |
---|
url | Url | The document URL. |
configuration | Configuration | The environment configuration. |
See Also
HTMLDocument(string)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(string address)
Parameter | Type | Description |
---|
address | String | The document address. It will be combined with the current directory path to form an absolute URL. |
See Also
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(string address, Configuration configuration)
Parameter | Type | Description |
---|
address | String | The document address. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
See Also
HTMLDocument(string, string)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(string content, string baseUri)
Parameter | Type | Description |
---|
content | String | The document content. |
baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
HTMLDocument(string, string, Configuration)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(string content, string baseUri, Configuration configuration)
Parameter | Type | Description |
---|
content | String | The document content. |
baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
HTMLDocument(string, Url)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(string content, Url baseUri)
Parameter | Type | Description |
---|
content | String | The document content. |
baseUri | Url | The base URI of the document. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(string content, Url baseUri, Configuration configuration)
Parameter | Type | Description |
---|
content | String | The document content. |
baseUri | Url | The base URI of the document. |
configuration | Configuration | The environment configuration. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
HTMLDocument(Stream, string)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
. Document loading starts from the current position in the stream.
public HTMLDocument(Stream content, string baseUri)
Parameter | Type | Description |
---|
content | Stream | The document content. |
baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
HTMLDocument(Stream, string, Configuration)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
. Document loading starts from the current position in the stream.
public HTMLDocument(Stream content, string baseUri, Configuration configuration)
Parameter | Type | Description |
---|
content | Stream | The document content. |
baseUri | String | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
configuration | Configuration | The environment configuration. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
HTMLDocument(Stream, Url)
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
. Document loading starts from the current position in the stream.
public HTMLDocument(Stream content, Url baseUri)
Parameter | Type | Description |
---|
content | Stream | The document content. |
baseUri | Url | The base URI of the document. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
. Document loading starts from the current position in the stream.
public HTMLDocument(Stream content, Url baseUri, Configuration configuration)
Parameter | Type | Description |
---|
content | Stream | The document content. |
baseUri | Url | The base URI of the document. |
configuration | Configuration | The environment configuration. |
Exceptions
exception | condition |
---|
ArgumentNullException | baseUri is null . |
See Also
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(RequestMessage request)
Parameter | Type | Description |
---|
request | RequestMessage | The request message. |
See Also
Initializes a new instance of the HTMLDocument
class. Constructor works synchronously, it waits for loading of all the external resources (images, scripts, etc.). To load document asynchronously use method Navigate
or its overloads. Or you can disable loading of some external resources by setting appropriate flags in Security
.
public HTMLDocument(RequestMessage request, Configuration configuration)
Parameter | Type | Description |
---|
request | RequestMessage | The request message. |
configuration | Configuration | The environment configuration. |
See Also