Table of Contents

Class RetryableReadContext

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

Represents a context for retryable reads.

public sealed class RetryableReadContext : IDisposable
Inheritance
RetryableReadContext
Implements
Inherited Members

Constructors

RetryableReadContext(IReadBinding, bool)

Initializes a new instance of the RetryableReadContext class.

Properties

Binding

Gets the binding.

Channel

Gets the channel.

ChannelSource

Gets the channel source.

RetryRequested

Gets a value indicating whether the operation can be retried.

Methods

Create(IReadBinding, bool, CancellationToken)

Creates and initializes a retryable read operation context.

CreateAsync(IReadBinding, bool, CancellationToken)

Creates and initializes a retryable read operation context.

Dispose()
ReplaceChannel(IChannelHandle)

Replaces the channel.

ReplaceChannelSource(IChannelSourceHandle)

Replaces the channel source.

See Also