Edytuj

Udostępnij za pośrednictwem


OrleansRelationalDownloadStream Class

Definition

This is a chunked read implementation for ADO.NET providers which do not otherwise implement GetStream(Int32) natively.

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

Constructors

OrleansRelationalDownloadStream(DbDataReader, Int32)

The default constructor.

Properties

CanRead

Can the stream be read.

CanSeek

Are seeks supported.

CanTimeout

Can the stream timeout.

CanWrite

Can the stream write.

Length

The length of the stream.

Position

The current position in the stream.

Methods

CopyToAsync(Stream, Int32, CancellationToken)

A buffer copy operation from database to the destination stream.

Dispose(Boolean)

Dispose.

Flush()

Throws .

Read(Byte[], Int32, Int32)

Reads the stream.

ReadAsync(Byte[], Int32, Int32, CancellationToken)

Reads the stream.

Seek(Int64, SeekOrigin)

Throws .

SetLength(Int64)

Throws .

Write(Byte[], Int32, Int32)

Throws .

Applies to