JobRemove is used to remove CogJobs by name from the CogJobManager.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
Parameters
- name
- Type: System String
The name of the CogJob to remove.
Events
| Event Type | Reason |
|---|---|
| CogJobManager JobRemoved | Fires when the CogJob has been successfully removed. |
Exceptions
| Exception | Condition |
|---|---|
| CogNotStoppedException | Thrown if the CogJobManager or specified CogJob or any other CogJob is not stopped. |
| ArgumentException | Thrown if the specified CogJob was not found. |
Remarks
Examples
See Also