Class OpnException
- Namespace
- Opticon
- Assembly
- Opticon.csp2.dll
Represents a general error that occurs during an OPN device operation.
public class OpnException : Exception, ISerializable
- Inheritance
-
OpnException
- Implements
- Derived
- Inherited Members
Constructors
OpnException(string, Csp2Status)
Initializes a new instance of the OpnException class.
public OpnException(string message, Csp2Status status)
Parameters
messagestringThe message that describes the error.
statusCsp2StatusThe status code returned by the device library.
Properties
Status
Gets the hardware status code associated with this exception.
public Csp2Status Status { get; }