CogSyncObject TryLock Method Cognex VisionPro 9.5
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: 69.0.0.0 (69.0.0.0)
Syntax

public bool TryLock()

Return Value

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