HTMLDocument

HTMLDocument()

Initializes a new instance of the HTMLDocument class.

public HTMLDocument()

See Also


HTMLDocument(Configuration)

Initializes a new instance of the HTMLDocument class.

public HTMLDocument(Configuration configuration)
ParameterTypeDescription
configurationConfigurationThe 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)
ParameterTypeDescription
urlUrlThe document URL.

See Also


HTMLDocument(UrlConfiguration)

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)
ParameterTypeDescription
urlUrlThe document URL.
configurationConfigurationThe 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)
ParameterTypeDescription
addressStringThe document address. It will be combined with the current directory path to form an absolute URL.

See Also


HTMLDocument(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 address, Configuration configuration)
ParameterTypeDescription
addressStringThe document address. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe 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)
ParameterTypeDescription
contentStringThe document content.
baseUriStringThe base URI of the document. It will be combined with the current directory path to form an absolute URL.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri 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)
ParameterTypeDescription
contentStringThe document content.
baseUriStringThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri 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)
ParameterTypeDescription
contentStringThe document content.
baseUriUrlThe base URI of the document.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri is null.

See Also


HTMLDocument(string, UrlConfiguration)

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)
ParameterTypeDescription
contentStringThe document content.
baseUriUrlThe base URI of the document.
configurationConfigurationThe environment configuration.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri 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)
ParameterTypeDescription
contentStreamThe document content.
baseUriStringThe base URI of the document. It will be combined with the current directory path to form an absolute URL.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri 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)
ParameterTypeDescription
contentStreamThe document content.
baseUriStringThe base URI of the document. It will be combined with the current directory path to form an absolute URL.
configurationConfigurationThe environment configuration.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri 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)
ParameterTypeDescription
contentStreamThe document content.
baseUriUrlThe base URI of the document.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri is null.

See Also


HTMLDocument(Stream, UrlConfiguration)

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)
ParameterTypeDescription
contentStreamThe document content.
baseUriUrlThe base URI of the document.
configurationConfigurationThe environment configuration.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri is null.

See Also


HTMLDocument(RequestMessage)

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)
ParameterTypeDescription
requestRequestMessageThe request message.

See Also


HTMLDocument(RequestMessageConfiguration)

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)
ParameterTypeDescription
requestRequestMessageThe request message.
configurationConfigurationThe environment configuration.

See Also