Creates a new instance of the CogRunStatus class.
Namespace: Cognex.VisionPro.ImplementationAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 79.0.0.0 (79.0.0.0)
public CogRunStatus(
CogToolResultConstants result,
string message,
double processingTime,
double totalTime,
Exception exception
)
public CogRunStatus(
CogToolResultConstants result,
string message,
double processingTime,
double totalTime,
Exception exception
)
Public Sub New (
result As CogToolResultConstants,
message As String,
processingTime As Double,
totalTime As Double,
exception As Exception
)
Public Sub New (
result As CogToolResultConstants,
message As String,
processingTime As Double,
totalTime As Double,
exception As Exception
)
public:
CogRunStatus(
CogToolResultConstants result,
String^ message,
double processingTime,
double totalTime,
Exception^ exception
)
public:
CogRunStatus(
CogToolResultConstants result,
String^ message,
double processingTime,
double totalTime,
Exception^ exception
)
Parameters
- result
- Type: Cognex.VisionPro CogToolResultConstants
Run status tool result.
- message
- Type: System String
Message describing or explaining run status.
- processingTime
- Type: System Double
Time to execute VisionPro tools. Excludes time used by clients to process Changed events.
- totalTime
- Type: System Double
Time to execute VisionPro tools and execute Changed events. This time includes such overhead as updating tool edit controls.
- exception
- Type: System Exception
Exception, if any, thrown while running tool.