IAzureCosmosDbGetEnvironmentDevices Method

Retrieves all Devices belonging to the environment and its sub-environments.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task<Dictionary<Guid, DeviceDto>> GetEnvironmentDevices(
	CompanyDto company,
	EnvironmentDto environment,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
company the environment and Devices belong to
environment  EnvironmentDto
environment to get the items from
cancellationToken  CancellationToken  (Optional)
Cancellation Token

Return Value

TaskDictionaryGuid, DeviceDto
All Devices belonging to the environment and its sub-environments.

Exceptions

ArgumentNullExceptionThrown if company or environment is

See Also