Click or drag to resize

MapReduceLegacyOperation.ExecuteAsync Method

Executes the operation.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public Task<BsonDocument> ExecuteAsync(
	IReadBinding binding,
	CancellationToken cancellationToken
)

Parameters

binding
Type: MongoDB.Driver.Core.Bindings.IReadBinding
The binding.
cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task<BsonDocument>
A Task whose result is the result of the operation.

Implements

IReadOperation<TResult>.ExecuteAsync(IReadBinding, CancellationToken)
See Also