RegistryManager.GetDeviceAsync メソッド

定義

オーバーロード

GetDeviceAsync(String)

指定した Device オブジェクトを取得します。

GetDeviceAsync(String, CancellationToken)

指定した Device オブジェクトを取得します。

GetDeviceAsync(String)

指定した Device オブジェクトを取得します。

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

パラメーター

deviceId
String

取得するデバイスの ID。

戻り値

Device オブジェクト。

適用対象

GetDeviceAsync(String, CancellationToken)

指定した Device オブジェクトを取得します。

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

パラメーター

deviceId
String

取得するデバイスの ID。

cancellationToken
CancellationToken

操作を取り消すトークン。

戻り値

Device オブジェクト。

適用対象