CSharpTest.Net
DisposingStream Class Members
See Also  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace : DisposingStream Class


Glossary Item Box

The following tables list the members exposed by DisposingStream.

Public Constructors

 NameDescription
Public ConstructorDisposingStream ConstructorCreate the wrapper on the provided stream, add disposables via WithDosposeOf(...)  
Top

Public Properties

 NameDescription
Public PropertyCanReadWhen overridden in a derived class, gets a value indicating whether the current stream supports reading. (Inherited from System.IO.Stream)
Public PropertyCanSeekWhen overridden in a derived class, gets a value indicating whether the current stream supports seeking. (Inherited from System.IO.Stream)
Public PropertyCanTimeoutGets a value that determines whether the current stream can time out. (Inherited from System.IO.Stream)
Public PropertyCanWriteWhen overridden in a derived class, gets a value indicating whether the current stream supports writing. (Inherited from System.IO.Stream)
Public PropertyLengthWhen overridden in a derived class, gets the length in bytes of the stream. (Inherited from System.IO.Stream)
Public PropertyPositionWhen overridden in a derived class, gets or sets the position within the current stream. (Inherited from System.IO.Stream)
Public PropertyReadTimeoutGets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from System.IO.Stream)
Public PropertyWriteTimeoutGets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from System.IO.Stream)
Top

Protected Properties

 NameDescription
Protected PropertyStreamAllows modifying the underlying stream (Inherited from CSharpTest.Net.IO.AggregateStream)
Top

Public Methods

 NameDescription
Public MethodBeginReadBegins an asynchronous read operation. (Inherited from System.IO.Stream)
Public MethodBeginWriteBegins an asynchronous write operation. (Inherited from System.IO.Stream)
Public MethodCloseCloses the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from System.IO.Stream)
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden. Disposes of the stream and then all objects in the disposable list  
Public MethodEndReadWaits for the pending asynchronous read to complete. (Inherited from System.IO.Stream)
Public MethodEndWriteEnds an asynchronous write operation. (Inherited from System.IO.Stream)
Public MethodFlushWhen overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Inherited from System.IO.Stream)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodReadWhen overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (Inherited from System.IO.Stream)
Public MethodReadByteReads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from System.IO.Stream)
Public MethodSeekWhen overridden in a derived class, sets the position within the current stream. (Inherited from System.IO.Stream)
Public MethodSetLengthWhen overridden in a derived class, sets the length of the current stream. (Inherited from System.IO.Stream)
Public MethodWithDisposeOfAdds an object to this stream that will be disposed when the stream is disposed.  
Public MethodWriteWhen overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (Inherited from System.IO.Stream)
Public MethodWriteByteWrites a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from System.IO.Stream)
Top

Protected Methods

 NameDescription
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Top

See Also

Generated with Document! X 2011 by Innovasys