Document.NavigateAsync

Asynchronously loads the document at the specified Uniform Resource Locator (URL) into the current instance.

public Task NavigateAsync(string address, CancellationToken cancellationToken)
ParameterTypeDescription
addressStringThe document address.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

A task that represents the asynchronous operation.

See Also


Asynchronously loads the document at the specified Uniform Resource Locator (URL) into the current instance.

public Task NavigateAsync(Url url, CancellationToken cancellationToken)
ParameterTypeDescription
urlUrlThe document URL.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

A task that represents the asynchronous operation.

See Also


Asynchronously loads the document from specified content and using baseUri to resolve relative resources.

public Task NavigateAsync(string content, string baseUri, CancellationToken cancellationToken)
ParameterTypeDescription
contentStringThe document content.
baseUriStringThe base URI.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

A task that represents the asynchronous operation.

See Also


Asynchronously loads the document from specified content and using baseUri to resolve relative resources.

public Task NavigateAsync(string content, Url baseUri, CancellationToken cancellationToken)
ParameterTypeDescription
contentStringThe document content.
baseUriUrlThe base URI.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

A task that represents the asynchronous operation.

See Also


Asynchronously loads the document from specified content and using baseUri to resolve relative resources.

public Task NavigateAsync(Stream content, string baseUri, CancellationToken cancellationToken)
ParameterTypeDescription
contentStreamThe document content stream.
baseUriStringThe base URI.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

A task that represents the asynchronous operation.

See Also


Asynchronously loads the document from specified content and using baseUri to resolve relative resources.

public Task NavigateAsync(Stream content, Url baseUri, CancellationToken cancellationToken)
ParameterTypeDescription
contentStreamThe document content stream.
baseUriUrlThe base URI.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

A task that represents the asynchronous operation.

See Also


Asynchronously loads the document based on the specified request object.

public Task NavigateAsync(RequestMessage request, CancellationToken cancellationToken)
ParameterTypeDescription
requestRequestMessageThe request object.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

A task that represents the asynchronous operation.

See Also