你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.