Table of Contents

Method ToCollectionAsync

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ToCollectionAsync(CancellationToken)

Executes an aggregation pipeline that writes the results to a collection.

public virtual Task ToCollectionAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.