EvaluatorGenerationJobs.Delete(String, CancellationToken) Method

Definition

Deletes an evaluator generation job by its ID. Deletes the job record only; the generated evaluator (if any) is preserved.

public virtual System.ClientModel.ClientResult Delete(string jobId, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : string * System.Threading.CancellationToken -> System.ClientModel.ClientResult
override this.Delete : string * System.Threading.CancellationToken -> System.ClientModel.ClientResult
Public Overridable Function Delete (jobId As String, Optional cancellationToken As CancellationToken = Nothing) As ClientResult

Parameters

jobId
String

The ID of the job to delete.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

jobId is null.

jobId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to