Поделиться через


DigitalTwinsClient.DeleteImportJobAsync(String, CancellationToken) Method

Definition

Deletes an import job. Status codes:

  • 204 No Content
  • 400 Bad Request
    • ValidationFailed - The import job request is not valid.
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteImportJobAsync(string jobId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteImportJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteImportJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteImportJobAsync (jobId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

jobId
String

The id for the import job. The id is unique within the service and case sensitive.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobId is null.

Applies to