Bagikan melalui


DocumentTranslationOperation.UpdateStatus(CancellationToken) Method

Definition

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

public override Azure.Response UpdateStatus (System.Threading.CancellationToken cancellationToken = default);
override this.UpdateStatus : System.Threading.CancellationToken -> Azure.Response
Public Overrides Function UpdateStatus (Optional cancellationToken As CancellationToken = Nothing) As 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