Edytuj

Udostępnij za pośrednictwem


OrleansRelationalDownloadStream.CopyToAsync Method

Definition

A buffer copy operation from database to the destination stream.

public override System.Threading.Tasks.Task CopyToAsync (System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken);
override this.CopyToAsync : System.IO.Stream * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function CopyToAsync (destination As Stream, bufferSize As Integer, cancellationToken As CancellationToken) As Task

Parameters

destination
Stream

The destination stream.

bufferSize
Int32

The buffer size.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Reading from the underlying ADO.NET provider is currently synchro

Applies to