StorageResourceItem.ReadStreamAsync 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.
Consumes the readable stream to upload
protected internal abstract System.Threading.Tasks.Task<Azure.Storage.DataMovement.StorageResourceReadStreamResult> ReadStreamAsync (long position = 0, long? length = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ReadStreamAsync : int64 * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.StorageResourceReadStreamResult>
Protected Friend MustOverride Function ReadStreamAsync (Optional position As Long = 0, Optional length As Nullable(Of Long) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageResourceReadStreamResult)
Parameters
- position
- Int64
The offset which the stream will be copied to.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET