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

public bool TryLock()

Return Value

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