message
A System.String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized.
code
A Code that specifies what caused this exception.
For an example, refer to ScreenCaptureException.