IQueryExecutionService.TrackQueryUpdatesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tracks query and receives updates when the result is changed.
public System.Threading.Tasks.Task<IDisposable> TrackQueryUpdatesAsync (string query, IObserver<string> resultsReceiver, System.Threading.CancellationToken cancellationToken = default);
abstract member TrackQueryUpdatesAsync : string * IObserver<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<IDisposable>
Public Function TrackQueryUpdatesAsync (query As String, resultsReceiver As IObserver(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IDisposable)
Parameters
- query
- String
The Query string.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
A disposable tracker, which can be disposed to stop receiving further data.