ICogRunStatus InterfaceCognex VisionPro 9.8 SR1
This interface is returned by the RunStatus property of the ICogTool interface and provides general information about the last call to the tool's Run method. Note that serious errors that occur within the tool's Run method may only be detected by examining the RunStatus after calling Run. It is the user's responsibility to examine the tool's RunStatus after calling Run.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 75.0.0.0 (75.0.0.0)
Syntax

[TypeConverterAttribute(typeof(CogComponentConverter))]
public interface ICogRunStatus

The ICogRunStatus type exposes the following members.

Properties

  NameDescription
Public propertyException
Returns the exception that happened when the tool's Run method was called, or null if no exception happened.
Public propertyMessage
Returns null if the result was Accept, and otherwise returns a string that provides additional information about the Warning, Reject or Error condition.
Public propertyProcessingTime
Returns the time in miliseconds taken to perform the tool's processing when its Run function was called. This excludes the time taken by event handlers connected to the tool.
Public propertyResult
Gets a result code that indicates the overall result of running the tool.
Public propertyTotalTime
Returns the total time in milliseconds taken by the tool's Run function. This includes the time taken by event handlers connected to the tool.
Top
See Also