OrleansRelationalDownloadStream.CopyToAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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