Define an error callback that can be registered using cvRedirectError function

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public delegate int CvErrorCallback(
	int status,
	string funcName,
	string errMsg,
	string fileName,
	int line,
	IntPtr userData
)
Public Delegate Function CvErrorCallback ( _
	status As Integer, _
	funcName As String, _
	errMsg As String, _
	fileName As String, _
	line As Integer, _
	userData As IntPtr _
) As Integer
public delegate int CvErrorCallback(
	int status, 
	String^ funcName, 
	String^ errMsg, 
	String^ fileName, 
	int line, 
	IntPtr userData
)

Parameters

status
Int32
The numeric code for error status
funcName
String
The source file name where error is encountered
errMsg
String
A description of the error
fileName
String
The source file name where error is encountered
line
Int32
The line number in the souce where error is encountered
userData
IntPtr
Arbitrary pointer that is transparetly passed to the error handler.

Return Value

See Also