Partager via


IQueryResultReceiver<TResult>.ReceiveResultAsync Method

Definition

Receives one piece of the result from a query step. A single request can produce multiple data, and it is expected this method will be called multiple times during the process.

public System.Threading.Tasks.Task ReceiveResultAsync (Microsoft.VisualStudio.ProjectSystem.Query.Execution.QueryProcessResult<TResult> result);
abstract member ReceiveResultAsync : Microsoft.VisualStudio.ProjectSystem.Query.Execution.QueryProcessResult<'Result> -> System.Threading.Tasks.Task
Public Function ReceiveResultAsync (result As QueryProcessResult(Of TResult)) As Task

Parameters

result
QueryProcessResult<TResult>

The result data.

Returns

Task finishes when receiver accepts the data.

Applies to