CopyFromUriOperation Class

Definition

An Operation<T> for tracking the status of a Azure.Storage.Blobs.Specialized.BlobBaseClient.StartCopyFromUriAsync(System.Uri,System.Collections.Generic.IDictionary{System.String,System.String},System.Nullable{Azure.Storage.Blobs.Models.AccessTier},Azure.Storage.Blobs.Models.BlobRequestConditions,Azure.Storage.Blobs.Models.BlobRequestConditions,System.Nullable{Azure.Storage.Blobs.Models.RehydratePriority},System.Threading.CancellationToken) request. Its Value upon successful completion will be the number of bytes copied.

public class CopyFromUriOperation : Azure.Operation<long>
type CopyFromUriOperation = class
    inherit Operation<int64>
Public Class CopyFromUriOperation
Inherits Operation(Of Long)
Inheritance
CopyFromUriOperation

Constructors

CopyFromUriOperation()

Initializes a new CopyFromUriOperation instance for mocking.

CopyFromUriOperation(String, BlobBaseClient)

Initializes a new CopyFromUriOperation instance

Properties

HasCompleted

Gets a value indicating whether the operation has completed.

HasValue

Gets a value indicating whether the operation completed and successfully produced a value. The Value property is the number of bytes copied by the operation.

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation.

Value

Gets the number of bytes copied by the operation.

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Check for the latest status of the copy operation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the copy operation.

WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionResponseAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)

Extension Methods

WaitForCompletion(Operation, CancellationToken)

Waits for the completion of the long running operations.

WaitForCompletion(Operation, TimeSpan, CancellationToken)

Waits for the completion of the long running operations.

WaitForCompletion<T>(Operation<T>, CancellationToken)

Waits for the completion of the long running operations.

WaitForCompletion<T>(Operation<T>, TimeSpan, CancellationToken)

Waits for the completion of the long running operations.

Applies to