IAzureCosmosDbGetCustomPageById Method

Retrieves a CustomPageDto by its customPageId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<CustomPageDto> GetCustomPageById(
	Guid customPageId,
	string language,
	CancellationToken cancellationToken = default
)

Parameters

customPageId  Guid
ID of the CustomPageDto that the dashboard belongs to
language  String
The matching language
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskCustomPageDto
Found CustomPageDto, or if not found.

Exceptions

ArgumentException Thrown if the customPageId is Empty

See Also