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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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