Click or drag to resize

OpenCVException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the Exception class with serialized data.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
protected OpenCVException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions
ExceptionCondition
ArgumentNullExceptioninfo is .
SerializationExceptionThe class name is or HResult is zero (0).
See Also