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.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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