ModuleClient.GetTwinAsync Méthode

Définition

Surcharges

GetTwinAsync()

Récupérez un objet jumeau de module pour le module actif.

GetTwinAsync(CancellationToken)

Récupérez un objet jumeau de module pour le module actif.

GetTwinAsync()

Récupérez un objet jumeau de module pour le module actif.

public System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin> GetTwinAsync ();
member this.GetTwinAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
Public Function GetTwinAsync () As Task(Of Twin)

Retours

Objet jumeau de module pour le module actif

S’applique à

GetTwinAsync(CancellationToken)

Récupérez un objet jumeau de module pour le module actif.

public System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin> GetTwinAsync (System.Threading.CancellationToken cancellationToken);
member this.GetTwinAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
Public Function GetTwinAsync (cancellationToken As CancellationToken) As Task(Of Twin)

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation pour annuler l’opération.

Retours

Objet jumeau de module pour le module actif

Exceptions

Levée lorsque l’opération a été annulée.

S’applique à