Skip to main content

ParallelModelLinearModelClient.CancelAsync method

Requests cancellation of the specified linear model 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 configuration value or identifier is invalid.

See Also​