IAzureCosmosDbGetExceptionLogs(UserSessionData, CancellationToken) Method

Retrieve Exception logs.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<List<LogDto>> GetExceptionLogs(
	UserSessionData currentUser,
	CancellationToken cancellationToken = default
)

Parameters

currentUser  UserSessionData
User performing the task
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskListLogDto
All Exception logs

Exceptions

UnauthorizedAccessException Thrown if the currentUser doesn't have the necessary ReviewLogs permission.

See Also