OperationResult.HasCompleted Property
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.
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
Azure SDK for .NET