Method ToCursor
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
ToCursor(CancellationToken)
Executes the operation and returns a cursor to the results.
public virtual IAsyncCursor<TProjection> ToCursor(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
The cancellation token.
Returns
A cursor.