EvaluatorGenerationJobs.Delete(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes an evaluator generation job by its ID. Deletes the job record only; the generated evaluator (if any) is preserved.
public virtual void Delete(string jobId, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : string * System.Threading.CancellationToken -> unit
override this.Delete : string * System.Threading.CancellationToken -> unit
Public Overridable Sub Delete (jobId As String, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- jobId
- String
The ID of the job to delete.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Exceptions
jobId is null.
jobId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.