message
A System.String that describes the error. The content of the message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
code
An WiaExceptionCode value that specifies what caused this exception.
The constructor initializes the Message property of the new instance using message and the Code property of the new instance using code.