Method AbortAsync
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
AbortAsync(CancellationToken)
Aborts an upload operation.
public Task AbortAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
The cancellation token.
Returns
A Task.
Remarks
Any partial results already written to the server are deleted when AbortAsync is called.