Table of Contents

Method ExecuteAsync

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

ExecuteAsync(IReadBinding, CancellationToken)

Executes the operation.

public Task<IReadOnlyList<IAsyncCursor<TDocument>>> ExecuteAsync(IReadBinding binding, CancellationToken cancellationToken)

Parameters

binding IReadBinding

The binding.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IReadOnlyList<IAsyncCursor<TDocument>>>

A Task whose result is the result of the operation.