OperationResult.HasCompleted Property

Definition

Gets a value that indicates whether the operation has completed.

public bool HasCompleted { get; protected set; }
member this.HasCompleted : bool with get, set
Public Property HasCompleted As Boolean

Property Value

true if the operation has reached a terminal state (that is, it has finished successfully, ended due to an error condition, or has been cancelled by a user); otherwise, false.

Remarks

HasCompleted is updated by the UpdateStatus(RequestOptions) method, based on the response received from the service regarding the operation's status. Users must call WaitForCompletion(CancellationToken), UpdateStatus(RequestOptions), or other method provided by the derived type to ensure that the value of the HasCompleted property reflects the current status of the operation running on the service.

Applies to