Table of Contents

Method AbortAsync

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

AbortAsync(CancellationToken)

Aborts an upload operation.

public abstract Task AbortAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.

Remarks

Any partial results already written to the server are deleted when AbortAsync is called.