Click or drag to resize

DelegatingStream Class

Represents a Stream that delegates all of its operations to a wrapped Stream.
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 DelegatingStream : Stream

The DelegatingStream type exposes the following members.

Properties
Methods
  NameDescription
Public methodBeginRead (Overrides StreamBeginRead(Byte, Int32, Int32, AsyncCallback, Object).)
Public methodBeginWrite (Overrides StreamBeginWrite(Byte, Int32, Int32, AsyncCallback, Object).)
Public methodClose (Overrides StreamClose.)
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) (Overrides StreamCopyToAsync(Stream, Int32, CancellationToken).)
Public methodCreateObjRef (Overrides MarshalByRefObjectCreateObjRef(Type).)
Protected methodCreateWaitHandle Obsolete. (Overrides StreamCreateWaitHandle.)
Public methodDispose (Inherited from Stream.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the DelegatingStream and optionally releases the managed resources
(Overrides StreamDispose(Boolean).)
Public methodEndRead (Overrides StreamEndRead(IAsyncResult).)
Public methodEndWrite (Overrides StreamEndWrite(IAsyncResult).)
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodFlush (Overrides StreamFlush.)
Public methodFlushAsync (Inherited from Stream.)
Public methodFlushAsync(CancellationToken) (Overrides StreamFlushAsync(CancellationToken).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeService (Overrides MarshalByRefObjectInitializeLifetimeService.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodObjectInvariant Obsolete. (Overrides StreamObjectInvariant.)
Public methodRead (Overrides StreamRead(Byte, Int32, Int32).)
Public methodReadAsync(Byte, Int32, Int32) (Inherited from Stream.)
Public methodReadAsync(Byte, Int32, Int32, CancellationToken) (Overrides StreamReadAsync(Byte, Int32, Int32, CancellationToken).)
Public methodReadByte (Overrides StreamReadByte.)
Public methodSeek (Overrides StreamSeek(Int64, SeekOrigin).)
Public methodSetLength (Overrides StreamSetLength(Int64).)
Public methodToString (Overrides ObjectToString.)
Public methodWrite (Overrides StreamWrite(Byte, Int32, Int32).)
Public methodWriteAsync(Byte, Int32, Int32) (Inherited from Stream.)
Public methodWriteAsync(Byte, Int32, Int32, CancellationToken) (Overrides StreamWriteAsync(Byte, Int32, Int32, CancellationToken).)
Public methodWriteByte (Overrides StreamWriteByte(Byte).)
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