IAzureCosmosDbRevertDeviceDeletion Method

Reverts the soft deletion of an account

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task RevertDeviceDeletion(
	DeviceDto item,
	UserSessionData user,
	CancellationToken cancellationToken = default
)

Parameters

item  DeviceDto
Item to revert the deletion of
user  UserSessionData
User performing the task
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Exceptions

UnauthorizedAccessException Thrown if the user user did not have the correct permissions

See Also