StorageResourceItem.CopyFromStreamAsync 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 CopyFromStreamAsync (System.IO.Stream stream, long streamLength, bool overwrite, long completeLength, Azure.Storage.DataMovement.StorageResourceWriteToOffsetOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CopyFromStreamAsync : System.IO.Stream * int64 * bool * int64 * Azure.Storage.DataMovement.StorageResourceWriteToOffsetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Friend MustOverride Function CopyFromStreamAsync (stream As Stream, streamLength As Long, overwrite As Boolean, completeLength As Long, Optional options As StorageResourceWriteToOffsetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- stream
- Stream
- streamLength
- Int64
The length of the stream.
- overwrite
- Boolean
If set to true, will overwrite the blob if exists.
- completeLength
- Int64
The expected complete length of the resource item.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET