Skip to main content

ParallelModelFeatureExtractionClient.CancelAsync method

Requests cancellation of the specified feature extraction job.

public Task<JsonElement> CancelAsync(Guid modelId, Guid jobId, string computeSize,
TimeSpan? timeout = default, CancellationToken cancellationToken = default)
parameterdescription
modelIdThe model identifier.
jobIdThe job identifier.
computeSizeThe compute size identifier sent with the request.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the cancellation response.

Exceptions​

exceptioncondition
ParallelModelConfigurationExceptionA required identifier, compute size or supplied encryption key is invalid.

See Also​