UploadStream Class

Specialized write-only stream used for submitting a chunk of a large upload to a FileSystem.

Inheritance Hierarchy

Syntax

public class UploadStream : System.IO.Stream

Constructors

Name Description
UploadStream

Initializes a new instance of the UploadStream class.

Properties

Name Description
BytesWritten
CanRead
CanSeek
CanWrite
Length
Position

Methods

Name Description
CommitAsync(System.Threading.CancellationToken cancellationToken)
Flush
IncrementBytesWritten(long count)
Read(byte[] buffer, int offset, int count)
Seek(long offset, System.IO.SeekOrigin origin)
SetLength(long value)

Remarks

Implementers must call the Inedo.Extensibility.FileSystems.UploadStream.IncrementBytesWritten(System.Int64) method whenever data is written in any of the Write method overrides.