RegistryManager.QueryDevicesJsonAsync Method
Namespace: Microsoft.Azure.Devices
Assembly: Microsoft.Azure.Devices (in Microsoft.Azure.Devices.dll)
Overload List
| Name | Description | |
|---|---|---|
![]() |
QueryDevicesJsonAsync(String) | Retrieves the devices matching the query criteria |
![]() |
QueryDevicesJsonAsync(String, CancellationToken) | Retrieves the devices matching the query criteria |
See Also
RegistryManager Class
Microsoft.Azure.Devices Namespace
Return to top
RegistryManager.QueryDevicesJsonAsync Method (String)
Retrieves the devices matching the query criteria
Syntax
public abstract Task<DeviceQueryResult> QueryDevicesJsonAsync(
string queryJson
)
public:
virtual Task<DeviceQueryResult^>^ QueryDevicesJsonAsync(
String^ queryJson
) abstract
Parameters
queryJson
Type: System.StringJSON query string
Return Value
Type: System.Threading.Tasks.Task<DeviceQueryResult>
Results of specified query
Return to top
RegistryManager.QueryDevicesJsonAsync Method (String, CancellationToken)
Retrieves the devices matching the query criteria
Syntax
public abstract Task<DeviceQueryResult> QueryDevicesJsonAsync(
string queryJson,
CancellationToken cancellationToken
)
public:
virtual Task<DeviceQueryResult^>^ QueryDevicesJsonAsync(
String^ queryJson,
CancellationToken cancellationToken
) abstract
Parameters
queryJson
Type: System.StringJSON query string
cancellationToken
Type: System.Threading.CancellationTokenTask cancellation token
Return Value
Type: System.Threading.Tasks.Task<DeviceQueryResult>
Results of specified query
Return to top
.jpeg)