StorageProgress Class
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.
Holds information about the progress data transfers for both request and response streams in a single operation.
public sealed class StorageProgress
type StorageProgress = class
Public NotInheritable Class StorageProgress
- Inheritance
-
StorageProgress
Examples
CancellationToken cancellationToken = new CancellationToken();
IProgress<StorageProgress> progressHandler = new Progress<StorageProgress>(
progress => Console.WriteLine("Progress: {0} bytes transferred", progress.BytesTransferred)
);
await blob.UploadFromStreamAsync(
srcStream,
default(AccessCondition),
default(BlobRequestOptions),
default(OperationContext),
progressHandler,
cancellationToken
);
Constructors
StorageProgress(Int64) |
Creates a StorageProgress object. |
Properties
BytesTransferred |
Progress in bytes of the request data transfer. |
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