IAzureCosmosDbGetDevicesAssociatedWithAccount Method

Retrieves all devices that are AccountId for account

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task<List<DeviceDto>> GetDevicesAssociatedWithAccount(
	AccountDto account,
	CancellationToken cancellationToken = default
)

Parameters

account  AccountDto
Account to get the devices for.
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskListDeviceDto
Task that will retrieve devices (if any) from the Cosmos DB

Exceptions

ArgumentNullExceptionThrown if account is .

See Also