RunStatus ClassCognex VisionPro 9.21 SR1

This class provides an implementation of the IRunStatus interface. A tool's RunStatus property is of type IRunStatus. This property 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.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision.Implementation RunStatus

Namespace: Cognex.Vision.Implementation
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.1.1
Syntax

public sealed class RunStatus : ShareableBase, 
	IRunStatus, IObject

The RunStatus type exposes the following members.

Constructors

  NameDescription
Public methodRunStatus 

Constructs a new instance of this class.

Public methodRunStatus(ToolResultConstants, String, Double, Double)

Constructs a new instance of the RunStatus class.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides ShareableBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ShareableBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two RunStatus objects.
Public operatorStatic memberInequality
Compares the inequality of two RunStatus objects.
Top
Properties

  NameDescription
Public propertyHandle (Overrides ShareableBase Handle.)
Public propertyMessage

Returns an empty string 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 milliseconds 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