Table of Contents

Method Execute

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

Execute(IWriteBinding, CancellationToken)

Executes the operation.

public WriteConcernResult Execute(IWriteBinding binding, CancellationToken cancellationToken)

Parameters

binding IWriteBinding

The binding.

cancellationToken CancellationToken

The cancellation token.

Returns

WriteConcernResult

The result of the operation.

Execute(RetryableWriteContext, CancellationToken)

Executes the first attempt.

public WriteConcernResult Execute(RetryableWriteContext context, CancellationToken cancellationToken)

Parameters

context RetryableWriteContext

The context.

cancellationToken CancellationToken

The cancellation token.

Returns

WriteConcernResult

The result.