次の方法で共有


OperationResult.UpdateStatus(RequestOptions) Method

Definition

Sends a request to the service to get the current status of the operation and updates HasCompleted and other relevant properties.

public abstract System.ClientModel.ClientResult UpdateStatus (System.ClientModel.Primitives.RequestOptions? options = default);
abstract member UpdateStatus : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public MustOverride Function UpdateStatus (Optional options As RequestOptions = Nothing) As 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