IDocumentRetriever.GetDocumentAsync(String, CancellationToken) Method

Definition

Obtains a document from an address.

public System.Threading.Tasks.Task<string> GetDocumentAsync (string address, System.Threading.CancellationToken cancel);
abstract member GetDocumentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetDocumentAsync (address As String, cancel As CancellationToken) As Task(Of String)

Parameters

address
System.String

location of document.

cancel
System.Threading.CancellationToken

System.Threading.CancellationToken.

Returns

System.Threading.Tasks.Task<System.String>

document as a string.

Applies to