Table of Contents

Method CloseAsync

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.dll

CloseAsync(CancellationToken)

Closes the GridFS stream.

public abstract Task CloseAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.