Table of Contents

Method ToCursor

Namespace
MongoDB.Driver
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

IAsyncCursor<TProjection>

A cursor.