Click or drag to resize

GridFSDownloadStreamTFileId Class

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

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 GridFSDownloadStream<TFileId> : Stream

Type Parameters

TFileId
The type of the file identifier.

The GridFSDownloadStreamTFileId 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 propertyFileInfo
Gets the files collection document.
Public propertyLength (Inherited from Stream.)
Public propertyPosition (Inherited from Stream.)
Public propertyReadTimeout (Inherited from Stream.)
Public propertyWriteTimeout (Inherited from Stream.)
Top
Methods
  NameDescription
Public methodBeginRead (Inherited from Stream.)
Public methodBeginWrite (Inherited from Stream.)
Public methodClose (Inherited from Stream.)
Public methodClose(CancellationToken)
Closes the GridFS stream.
Public methodCloseAsync
Closes the GridFS stream.
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