Raise the RunCompleted event.
Namespace: Cognex.VisionPro.InspectionAssembly: Cognex.VisionPro.Inspection (in Cognex.VisionPro.Inspection.dll) Version: 87.0.0.0 (87.0.0.0)
protected virtual void OnRunCompleted(
Exception error,
bool cancelled,
Object userState
)
protected virtual void OnRunCompleted(
Exception error,
bool cancelled,
Object userState
)
Protected Overridable Sub OnRunCompleted (
error As Exception,
cancelled As Boolean,
userState As Object
)
Protected Overridable Sub OnRunCompleted (
error As Exception,
cancelled As Boolean,
userState As Object
)
protected:
virtual void OnRunCompleted(
Exception^ error,
bool cancelled,
Object^ userState
)
protected:
virtual void OnRunCompleted(
Exception^ error,
bool cancelled,
Object^ userState
)
Parameters
- error
- Type: System Exception
The exception if any was thrown during verification, null otherwise.
- cancelled
- Type: System Boolean
True if verification was cancelled, false otherwise.
- userState
- Type: System Object
Not used.