OperationResult.UpdateStatusAsync(RequestOptions) Method
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.
Sends a request to the service to get the current status of the operation and updates HasCompleted and other relevant properties.
public abstract System.Threading.Tasks.ValueTask<System.ClientModel.ClientResult> UpdateStatusAsync (System.ClientModel.Primitives.RequestOptions? options = default);
abstract member UpdateStatusAsync : System.ClientModel.Primitives.RequestOptions -> System.Threading.Tasks.ValueTask<System.ClientModel.ClientResult>
Public MustOverride Function UpdateStatusAsync (Optional options As RequestOptions = Nothing) As ValueTask(Of ClientResult)
Parameters
- options
- RequestOptions
The RequestOptions to be used when sending the request to the service.
Returns
The ClientResult returned from the service call.
Remarks
This method updates the value returned from GetRawResponse() and will update HasCompleted to true
once the operation has finished running on the service. It will also update Value
or Status
properties if present on the OperationResult derived type.
Applies to
Azure SDK for .NET