Filtered |
public class FilteredStream : Stream, ICancellableStream
The FilteredStream type exposes the following members.
Name | Description | |
---|---|---|
FilteredStream | Initialize a new instance of the FilteredStream class. |
Name | Description | |
---|---|---|
CanRead |
Check whether or not the stream supports reading.
(Overrides StreamCanRead) | |
CanSeek |
Check whether or not the stream supports seeking.
(Overrides StreamCanSeek) | |
CanTimeout |
Check whether or not I/O operations can timeout.
(Overrides StreamCanTimeout) | |
CanWrite |
Check whether or not the stream supports writing.
(Overrides StreamCanWrite) | |
Length |
Get the length of the stream, in bytes.
(Overrides StreamLength) | |
Position |
Get or set the current position within the stream.
(Overrides StreamPosition) | |
ReadTimeout |
Get or set a value, in milliseconds, that determines how long the stream will attempt to read before timing out.
(Overrides StreamReadTimeout) | |
Source | Get the underlying source stream. | |
WriteTimeout |
Get or set a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
(Overrides StreamWriteTimeout) |
Name | Description | |
---|---|---|
Add | Add a filter. | |
BeginRead | (Inherited from Stream) | |
BeginWrite | (Inherited from Stream) | |
Close | (Inherited from Stream) | |
Contains | Check if the filtered stream contains the specified filter. | |
CopyTo(Stream) | (Inherited from Stream) | |
CopyTo(Stream, Int32) | (Inherited from Stream) | |
CopyToAsync(Stream) | (Inherited from Stream) | |
CopyToAsync(Stream, Int32) | (Inherited from Stream) | |
CopyToAsync(Stream, Int32, CancellationToken) | (Inherited from Stream) | |
CreateObjRef | (Inherited from MarshalByRefObject) | |
CreateWaitHandle | Obsolete. (Inherited from Stream) | |
Dispose | (Inherited from Stream) | |
Dispose(Boolean) |
Release the unmanaged resources used by the FilteredStream and
optionally releases the managed resources.
(Overrides StreamDispose(Boolean)) | |
EndRead | (Inherited from Stream) | |
EndWrite | (Inherited from Stream) | |
Equals | (Inherited from Object) | |
Finalize | (Inherited from Object) | |
Flush |
Clear all buffers for this stream and causes any buffered data to be written
to the underlying device.
(Overrides StreamFlush) | |
Flush(CancellationToken) | Clear all buffers for this stream and causes any buffered data to be written to the underlying device. | |
FlushAsync | (Inherited from Stream) | |
FlushAsync(CancellationToken) |
Asynchronously clear all buffers for this stream and causes any buffered data to be written
to the underlying device.
(Overrides StreamFlushAsync(CancellationToken)) | |
GetHashCode | (Inherited from Object) | |
GetLifetimeService | (Inherited from MarshalByRefObject) | |
GetType | (Inherited from Object) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject) | |
MemberwiseClone | (Inherited from Object) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject) | |
ObjectInvariant | Obsolete. (Inherited from Stream) | |
Read(Byte, Int32, Int32) |
Read a sequence of bytes from the stream and advances the position
within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32)) | |
Read(Byte, Int32, Int32, CancellationToken) | Read a sequence of bytes from the stream and advances the position within the stream by the number of bytes read. | |
ReadAsync(Byte, Int32, Int32) | (Inherited from Stream) | |
ReadAsync(Byte, Int32, Int32, CancellationToken) |
Asynchronously read a sequence of bytes from the stream and advances the position
within the stream by the number of bytes read.
(Overrides StreamReadAsync(Byte, Int32, Int32, CancellationToken)) | |
ReadByte | (Inherited from Stream) | |
Remove | Remove a filter. | |
Seek |
Set the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin)) | |
SetLength |
Set the length of the stream.
(Overrides StreamSetLength(Int64)) | |
ToString | (Inherited from Object) | |
Write(Byte, Int32, Int32) |
Write a sequence of bytes to the stream and advances the current
position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32)) | |
Write(Byte, Int32, Int32, CancellationToken) | Write a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written. | |
WriteAsync(Byte, Int32, Int32) | (Inherited from Stream) | |
WriteAsync(Byte, Int32, Int32, CancellationToken) |
Asynchronously write a sequence of bytes to the stream and advances the current
position within this stream by the number of bytes written.
(Overrides StreamWriteAsync(Byte, Int32, Int32, CancellationToken)) | |
WriteByte | (Inherited from Stream) |