Click or drag to resize

GridFSUploadStream Class

Represents a Stream used by the application to write data to a GridFS file.
Inheritance Hierarchy

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public class GridFSUploadStream : DelegatingStream

The GridFSUploadStream type exposes the following members.

Properties
  NameDescription
Public propertyCanRead (Inherited from DelegatingStream.)
Public propertyCanSeek (Inherited from DelegatingStream.)
Public propertyCanTimeout (Inherited from DelegatingStream.)
Public propertyCanWrite (Inherited from DelegatingStream.)
Public propertyId
Gets the id of the file being added to GridFS.
Public propertyLength (Inherited from DelegatingStream.)
Public propertyPosition (Inherited from DelegatingStream.)
Public propertyReadTimeout (Inherited from DelegatingStream.)
Public propertyWriteTimeout (Inherited from DelegatingStream.)
Top
Methods
  NameDescription
Public methodAbort
Aborts an upload operation.
Public methodAbortAsync
Aborts an upload operation.
Public methodBeginRead (Inherited from DelegatingStream.)
Public methodBeginWrite (Inherited from DelegatingStream.)
Public methodClose (Inherited from DelegatingStream.)
Public methodClose(CancellationToken)
Closes the Stream and completes the upload operation.
Public methodCloseAsync
Closes the Stream and completes the upload operation.
Public methodCopyTo(Stream) (Inherited from Stream.)
Public methodCopyTo(Stream, Int32) (Inherited from Stream.)
Public methodCopyToAsync(Stream) (Inherited from Stream.)
Public methodCopyToAsync(Stream, Int32) (Inherited from Stream.)
Public methodCopyToAsync(Stream, Int32, CancellationToken) (Inherited from DelegatingStream.)
Public methodCreateObjRef (Inherited from DelegatingStream.)
Protected methodCreateWaitHandle Obsolete. (Inherited from DelegatingStream.)
Public methodDispose (Inherited from Stream.)
Protected methodDispose(Boolean) (Inherited from DelegatingStream.)
Public methodEndRead (Inherited from DelegatingStream.)
Public methodEndWrite (Inherited from DelegatingStream.)
Public methodEquals (Inherited from DelegatingStream.)
Protected methodFinalize (Inherited from Object.)
Public methodFlush (Inherited from DelegatingStream.)
Public methodFlushAsync (Inherited from Stream.)
Public methodFlushAsync(CancellationToken) (Inherited from DelegatingStream.)
Public methodGetHashCode (Inherited from DelegatingStream.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeService (Inherited from DelegatingStream.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodObjectInvariant Obsolete. (Inherited from DelegatingStream.)
Public methodRead (Inherited from DelegatingStream.)
Public methodReadAsync(Byte, Int32, Int32) (Inherited from Stream.)
Public methodReadAsync(Byte, Int32, Int32, CancellationToken) (Inherited from DelegatingStream.)
Public methodReadByte (Inherited from DelegatingStream.)
Public methodSeek (Inherited from DelegatingStream.)
Public methodSetLength (Inherited from DelegatingStream.)
Public methodToString (Inherited from DelegatingStream.)
Public methodWrite (Inherited from DelegatingStream.)
Public methodWriteAsync(Byte, Int32, Int32) (Inherited from Stream.)
Public methodWriteAsync(Byte, Int32, Int32, CancellationToken) (Inherited from DelegatingStream.)
Public methodWriteByte (Inherited from DelegatingStream.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also