Get or set the maximum number of job runs.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 85.1.0.0 (85.1.0.0)
Syntax
Property Value
Type: Int64RunCount defines the maximum number of job run if RunCountEnable is true and the job is in continuous mode.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when RunCount changes. |
Exceptions
| Exception | Condition |
|---|---|
| CogNotStoppedException | Thrown if the CogJob is not stopped. |
See Also