Click or drag to resize

GridFSUploadStream.Abort Method

Aborts an upload operation.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public void Abort(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken (Optional)
Type: System.Threading.CancellationToken
The cancellation token.
Remarks
Any partial results already written to the server are deleted when Abort is called.
See Also