Class GridFSUploadStream
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Represents a Stream used by the application to write data to a GridFS file.
public abstract class GridFSUploadStream<TFileId> : Stream, IAsyncDisposable, IDisposable
Type Parameters
TFileId
The type of the file identifier.
Inheritance
GridFSUploadStream
Implements
Inherited Members
Properties
Gets the id of the file being added to GridFS.
Methods
Aborts an upload operation.
Aborts an upload operation.
Closes the Stream and completes the upload operation.
Closes the Stream and completes the upload operation.