Freigeben über


RegistryManager.GetTwinAsync Methode

Definition

Überlädt

GetTwinAsync(String)

Ruft Twin von IotHub ab

GetTwinAsync(String, String)

Ruft Module Twin aus IotHub ab

GetTwinAsync(String, CancellationToken)

Ruft Twin von IotHub ab

GetTwinAsync(String, String, CancellationToken)

Ruft Module Twin aus IotHub ab

GetTwinAsync(String)

Ruft Twin von IotHub ab

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

Parameter

deviceId
String

Die Geräte-ID.

Gibt zurück

Twin instance.

Gilt für:

GetTwinAsync(String, String)

Ruft Module Twin aus IotHub ab

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin> GetTwinAsync (string deviceId, string moduleId);
abstract member GetTwinAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
override this.GetTwinAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
Public Overridable Function GetTwinAsync (deviceId As String, moduleId As String) As Task(Of Twin)

Parameter

deviceId
String

Die Geräte-ID.

moduleId
String

Die Modul-ID.

Gibt zurück

Twin instance.

Gilt für:

GetTwinAsync(String, CancellationToken)

Ruft Twin von IotHub ab

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

Parameter

deviceId
String

Die Geräte-ID.

cancellationToken
CancellationToken

Vorgangsabbruchtoken.

Gibt zurück

Twin instance.

Gilt für:

GetTwinAsync(String, String, CancellationToken)

Ruft Module Twin aus IotHub ab

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

Parameter

deviceId
String

Die Geräte-ID.

moduleId
String

Die Modul-ID.

cancellationToken
CancellationToken

Vorgangsabbruchtoken.

Gibt zurück

Twin instance.

Gilt für: