Table of Contents

Method DropAsync

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

DropAsync(CancellationToken)

Drops the files and chunks collections associated with this GridFS bucket.

public Task DropAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.