Table of Contents

Method Execute

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

Execute(IReadBinding, CancellationToken)

Executes the operation.

public TCommandResult Execute(IReadBinding binding, CancellationToken cancellationToken)

Parameters

binding IReadBinding

The binding.

cancellationToken CancellationToken

The cancellation token.

Returns

TCommandResult

The result of the operation.

Execute(RetryableReadContext, CancellationToken)

Executes the first attempt.

public TCommandResult Execute(RetryableReadContext context, CancellationToken cancellationToken)

Parameters

context RetryableReadContext

The context.

cancellationToken CancellationToken

The cancellation token.

Returns

TCommandResult

The result.