Method ExecuteAsync
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
ExecuteAsync(RetryableWriteContext, CancellationToken)
Executes the first attempt.
Task<TResult> ExecuteAsync(RetryableWriteContext context, CancellationToken cancellationToken)
Parameters
context
RetryableWriteContextThe context.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<TResult>
The result.