ListCollectionsOperation.ExecuteAsync Method (original) (raw)
Executes the operation.
Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
public Task<IAsyncCursor> ExecuteAsync( IReadBinding binding, CancellationToken cancellationToken )
Public Function ExecuteAsync ( binding As IReadBinding, cancellationToken As CancellationToken ) As Task(Of IAsyncCursor(Of BsonDocument))
abstract ExecuteAsync : binding : IReadBinding * cancellationToken : CancellationToken -> Task<IAsyncCursor> override ExecuteAsync : binding : IReadBinding * cancellationToken : CancellationToken -> Task<IAsyncCursor>
Parameters
binding
Type: MongoDB.Driver.Core.BindingsIReadBinding
The binding.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type: TaskIAsyncCursorBsonDocument
A Task whose result is the result of the operation.
Implements
IReadOperationTResultExecuteAsync(IReadBinding, CancellationToken)