CogJobManager JobAdd Method Cognex VisionPro 9.8
JobAdd is used to add CogJobs to the CogJobManager.

Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 75.1.0.0 (75.1.0.0)
Syntax

public void JobAdd(
	CogJob job
)
Events

Event TypeReason
CogJobManager JobAddedFires when the CogJob has been successfully added.
Exceptions

ExceptionCondition
CogNotStoppedExceptionThrown if the CogJobManager or specified CogJob or any other CogJob is not stopped.
ArgumentExceptionThrown if the specified CogJob has already been added to another CogJobManager.
ArgumentExceptionThrown if the specified CogJob has a name and it is not unique.
See Also