CogSyncObject TryLock Method Cognex VisionPro 9.21 SR1
Try to lock this object immediately. If successful, and the object was previously unlocked, fire the Locked event.

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

public bool TryLock()

Return Value

Type: Boolean
True if the object is locked successfully. Otherwise, false.
See Also