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. There are cases that operation id is not available, we return "NOT_SET" for unavailable operation id.

Value

Gets the number of bytes copied by the operation.

Methods

GetRawResponse()

The last HTTP response received from the server.

GetRehydrationToken()

Get a token that can be used to rehydrate the operation.

(Inherited from Operation)
UpdateStatus(CancellationToken)

Check for the latest status of the copy operation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the copy operation.

WaitForCompletion(CancellationToken)

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

(Inherited from Operation<T>)
WaitForCompletion(DelayStrategy, CancellationToken)

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

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

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

(Inherited from Operation<T>)
WaitForCompletionAsync(CancellationToken)

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

WaitForCompletionAsync(DelayStrategy, CancellationToken)

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

(Inherited from Operation<T>)
WaitForCompletionAsync(TimeSpan, CancellationToken)

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

WaitForCompletionResponse(CancellationToken)

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

(Inherited from Operation)
WaitForCompletionResponse(DelayStrategy, CancellationToken)

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

(Inherited from Operation)
WaitForCompletionResponse(TimeSpan, CancellationToken)

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

(Inherited from Operation)
WaitForCompletionResponseAsync(CancellationToken)

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

(Inherited from Operation)
WaitForCompletionResponseAsync(DelayStrategy, 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)

Applies to