CogSyncObject Unlock Method Cognex VisionPro
Unlocks this object and fires the Unlocked event if the calling thread has called this method as many times as it has called Lock  or TryLock .

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax

public void Unlock()
Exceptions

ExceptionCondition
SynchronizationLockException The current thread does not own the lock for this object.
See Also