IAzureCosmosDbUnlockDevice Method

Unlocks a DeviceDto and its environment (if locked)

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task UnlockDevice(
	DeviceDto device,
	UserSessionData unlockedBy,
	bool isImplicitLock,
	CancellationToken cancellationToken = default
)

Parameters

device  DeviceDto
object to be unlocked
unlockedBy  UserSessionData
User unlocking the EnvironmentDto
isImplicitLock  Boolean
True if the lock is done implicitly
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Exceptions

ArgumentNullExceptionThrown if device or unlockedBy was

See Also