Edit

Share via


FileSetStream Class

Definition

A stream that combines a set of files. Can be used to read from a consecutive list of files, e.g. log files that are split by size or date.

public class FileSetStream : System.IO.Stream
type FileSetStream = class
    inherit Stream
Public Class FileSetStream
Inherits Stream
Inheritance
FileSetStream

Constructors

FileSetStream(IEnumerable<String>)

Create a new instance using a set of files.

FileSetStream(IEnumerable<ValueTuple<String,Stream>>)

Create a new instance using a set of files.

Properties

CanRead

This returns true.

CanSeek

This returns false.

CanWrite

This returns false.

Length

This is not supported

Loop

True to indicate that reading should restart at the beginning when the list ends.

Position

This is not supported

Methods

Dispose(Boolean)

Releases the unmanaged resources used by the Stream and optionally releases the managed resources.

Flush()

This does nothing

Read(Byte[], Int32, Int32)

Reads data from the stream.

Seek(Int64, SeekOrigin)

This operation is unsupported.

SetLength(Int64)

This operation is unsupported.

Write(Byte[], Int32, Int32)

This operation is unsupported.

Applies to