IAzureCosmosDbGetExceptionLogs(UserSessionData, CancellationToken) Method

Retrieve Exception logs.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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