Table of Contents

Class OperationExtensionMethods

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

Represents extension methods for operations.

[Obsolete("This class will be made internal in a later release.")]
public static class OperationExtensionMethods
Inheritance
OperationExtensionMethods
Inherited Members

Methods

ExecuteAsync<TResult>(IReadOperation<TResult>, IChannelSourceHandle, ReadPreference, ICoreSessionHandle, CancellationToken)

Executes a read operation using a channel source.

ExecuteAsync<TResult>(IWriteOperation<TResult>, IChannelSourceHandle, ICoreSessionHandle, CancellationToken)

Executes a write operation using a channel source.

Execute<TResult>(IReadOperation<TResult>, IChannelSourceHandle, ReadPreference, ICoreSessionHandle, CancellationToken)

Executes a read operation using a channel source.

Execute<TResult>(IWriteOperation<TResult>, IChannelSourceHandle, ICoreSessionHandle, CancellationToken)

Executes a write operation using a channel source.