Table of Contents

Method ExecuteAttempt

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

ExecuteAttempt(RetryableReadContext, int, long?, CancellationToken)

Executes the first attempt.

TResult ExecuteAttempt(RetryableReadContext context, int attempt, long? transactionNumber, CancellationToken cancellationToken)

Parameters

context RetryableReadContext

The context.

attempt int

The attempt.

transactionNumber long?

The transaction number.

cancellationToken CancellationToken

The cancellation token.

Returns

TResult

The result.