Share via


RecognizeInvoicesOperation.UpdateStatusAsync(CancellationToken) Method

Definition

Calls the server to get updated status of the long-running operation.

public override System.Threading.Tasks.ValueTask<Azure.Response> UpdateStatusAsync (System.Threading.CancellationToken cancellationToken = default);
override this.UpdateStatusAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Azure.Response>
Public Overrides Function UpdateStatusAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of Response)

Parameters

cancellationToken
CancellationToken

A CancellationToken used for the service call.

Returns

The HTTP response received from the server.

Remarks

This operation will update the value returned from GetRawResponse and might update HasCompleted, HasValue, and Value.

Applies to