Click or drag to resize

GridFSUploadStreamTFileId Class

Represents a Stream used by the application to write data to a GridFS file.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.IOStream
      MongoDB.Driver.GridFSGridFSUploadStreamTFileId

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 abstract class GridFSUploadStream<TFileId> : Stream

Type Parameters

TFileId
The type of the file identifier.

The GridFSUploadStreamTFileId type exposes the following members.

Properties
  NameDescription
Public propertyCanRead (Inherited from Stream.)
Public propertyCanSeek (Inherited from Stream.)
Public propertyCanTimeout (Inherited from Stream.)
Public propertyCanWrite (Inherited from Stream.)
Public propertyId
Gets the id of the file being added to GridFS.
Public propertyLength (Inherited from Stream.)
Public propertyPosition (Inherited from Stream.)
Public propertyReadTimeout (Inherited from Stream.)
Public propertyWriteTimeout (Inherited from Stream.)
Top
Methods
  NameDescription
Public methodAbort
Aborts an upload operation.
Public methodAbortAsync
Aborts an upload operation.
Public methodBeginRead (Inherited from Stream.)
Public methodBeginWrite (Inherited from Stream.)
Public methodClose (Inherited from Stream.)
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 Stream.)
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Protected methodCreateWaitHandle Obsolete. (Inherited from Stream.)
Public methodDispose (Inherited from Stream.)
Protected methodDispose(Boolean) (Inherited from Stream.)
Public methodEndRead (Inherited from Stream.)
Public methodEndWrite (Inherited from Stream.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFlush (Inherited from Stream.)
Public methodFlushAsync (Inherited from Stream.)
Public methodFlushAsync(CancellationToken) (Inherited from Stream.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodObjectInvariant Obsolete. (Inherited from Stream.)
Public methodRead (Inherited from Stream.)
Public methodReadAsync(Byte, Int32, Int32) (Inherited from Stream.)
Public methodReadAsync(Byte, Int32, Int32, CancellationToken) (Inherited from Stream.)
Public methodReadByte (Inherited from Stream.)
Public methodSeek (Inherited from Stream.)
Public methodSetLength (Inherited from Stream.)
Public methodToString (Inherited from Object.)
Public methodWrite (Inherited from Stream.)
Public methodWriteAsync(Byte, Int32, Int32) (Inherited from Stream.)
Public methodWriteAsync(Byte, Int32, Int32, CancellationToken) (Inherited from Stream.)
Public methodWriteByte (Inherited from Stream.)
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