Class GridFSUploadStream<TFileId>
Represents a Stream used by the application to write data to a GridFS file.
public abstract class GridFSUploadStream<TFileId> : Stream, IAsyncDisposable, IDisposable
  Type Parameters
TFileIdThe type of the file identifier.
- Inheritance
 - 
      
      
      
      GridFSUploadStream<TFileId>
 
- Implements
 
- Inherited Members
 
Properties
- Id
 Gets the id of the file being added to GridFS.
Methods
- Abort(CancellationToken)
 Aborts an upload operation.
- AbortAsync(CancellationToken)
 Aborts an upload operation.
- Close(CancellationToken)
 Closes the Stream and completes the upload operation.
- CloseAsync(CancellationToken)
 Closes the Stream and completes the upload operation.