StorageProgress StorageProgress StorageProgress Class

Definition

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
StorageProgressStorageProgressStorageProgress

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
    );

Remarks


  
  
  		
  			

Constructors

StorageProgress(Int64) StorageProgress(Int64) StorageProgress(Int64)

Creates a StorageProgress object.

Properties

BytesTransferred BytesTransferred BytesTransferred

Progress in bytes of the request data transfer.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to