JobAdd is used to add CogJobs to the CogJobManager.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 87.1.0.0 (87.1.0.0)
Syntax
Parameters
- job
- Type: Cognex.VisionPro.QuickBuild CogJob
The new CogJob to add.
Events
| Event Type | Reason |
|---|---|
| CogJobManager JobAdded | Fires when the CogJob has been successfully added. |
Exceptions
| Exception | Condition |
|---|---|
| CogNotStoppedException | Thrown if the CogJobManager or specified CogJob or any other CogJob is not stopped. |
| ArgumentException | Thrown if the specified CogJob has already been added to another CogJobManager. |
| ArgumentException | Thrown if the specified CogJob has a name and it is not unique. |
See Also