Click or drag to resize

ExplainOperation.ExecuteAsync Method (IReadBinding, CancellationToken)

Executes the operation.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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