IAzureCosmosDbGetMessagesOfDevice Method

Retrieves all device messages belonging to a Device.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<List<DeviceMessageDto>> GetMessagesOfDevice(
	CompanyDto company,
	DeviceDto device,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
CompanyDto owning the Device
device  DeviceDto
DeviceDto the messages belong to.
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskListDeviceMessageDto
List of messages from the Device

See Also