Method DeleteAsync
DeleteAsync(TFileId, CancellationToken)
Deletes a file from GridFS.
public Task DeleteAsync(TFileId id, CancellationToken cancellationToken = default)
Parameters
id
TFileIdThe file id.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task
A Task.