CogJobManager JobRemove Method (String)Cognex VisionPro 9.24
JobRemove is used to remove CogJobs by name from the CogJobManager.

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

public void JobRemove(
	string name
)

Parameters

name
Type: System String
The name of the CogJob to remove.
Events

Event TypeReason
CogJobManager JobRemovedFires when the CogJob has been successfully removed.
Exceptions

ExceptionCondition
CogNotStoppedExceptionThrown if the CogJobManager or specified CogJob or any other CogJob is not stopped.
ArgumentExceptionThrown if the specified CogJob was not found.
Remarks

Examples

See Also