OrleansRelationalDownloadStream.CopyToAsync Method
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.
C#
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
- destination
- Stream
The destination stream.
- bufferSize
- Int32
The buffer size.
- cancellationToken
- CancellationToken
The cancellation token.
Reading from the underlying ADO.NET provider is currently synchro
Produk | Versi |
---|---|
.NET Orleans | 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |