Share via


IotHubResourceOperationsExtensions.GetJobAsync Methode

Definition

Rufen Sie die Details eines Auftrags aus einem IoT Hub ab. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse> GetJobAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string jobId, System.Threading.CancellationToken cancellationToken = default);
static member GetJobAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse>
<Extension()>
Public Function GetJobAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, jobId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobResponse)

Parameter

operations
IIotHubResourceOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die den IoT Hub enthält.

resourceName
String

Der Name des IoT-Hubs.

jobId
String

Der Auftragsbezeichner.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Rufen Sie die Details eines Auftrags aus einem IoT Hub ab. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

Gilt für: