DigitalTwinsClient.GetImportJobAsync(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.
Retrieves an import job. Status codes:
- 200 OK
- 404 Not Found
- ImportJobNotFound - The import job was not found.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.DigitalTwins.Core.ImportJob>> GetImportJobAsync(string jobId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImportJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.DigitalTwins.Core.ImportJob>>
override this.GetImportJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.DigitalTwins.Core.ImportJob>>
Public Overridable Function GetImportJobAsync (jobId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ImportJob))
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.