DigitalTwinsClient.DeleteImportJobAsync(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 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.