Method ExecuteAsync
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
ExecuteAsync(IReadBinding, CancellationToken)
Executes the operation.
public Task<IAsyncCursor<TValue>> ExecuteAsync(IReadBinding binding, CancellationToken cancellationToken)
Parameters
bindingIReadBindingThe binding.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<IAsyncCursor<TValue>>
A Task whose result is the result of the operation.