Table of Contents

Method ExecuteAsync

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

ExecuteAsync(IWriteBinding, CancellationToken)

Executes the operation.

public Task<TCommandResult> ExecuteAsync(IWriteBinding binding, CancellationToken cancellationToken = default)

Parameters

binding IWriteBinding

The binding.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<TCommandResult>

A Task whose result is the result of the operation.