Compartilhar via


RegistryManager.GetJobAsync Método

Definição

Sobrecargas

GetJobAsync(String, CancellationToken)

Obtém o trabalho com a ID especificada.

GetJobAsync(String)

Obtém o trabalho com a ID especificada.

GetJobAsync(String, CancellationToken)

Obtém o trabalho com a ID especificada.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties> GetJobAsync (string jobId, System.Threading.CancellationToken cancellationToken);
abstract member GetJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
override this.GetJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
Public Overridable Function GetJobAsync (jobId As String, cancellationToken As CancellationToken) As Task(Of JobProperties)

Parâmetros

jobId
String

Id do objeto Job a ser recuperado.

cancellationToken
CancellationToken

Token de cancelamento de tarefa.

Retornos

JobProperties do trabalho especificado pela jobId fornecida.

Aplica-se a

GetJobAsync(String)

Obtém o trabalho com a ID especificada.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties> GetJobAsync (string jobId);
abstract member GetJobAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
override this.GetJobAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.JobProperties>
Public Overridable Function GetJobAsync (jobId As String) As Task(Of JobProperties)

Parâmetros

jobId
String

Id do objeto Job a ser recuperado.

Retornos

JobProperties do trabalho especificado pela jobId fornecida.

Aplica-se a