Initializes a new instance of the ScreenCaptureException class with its Message string set to message, its Code set to ScreenCaptureExceptionCode.Success and its inner exception set to a null reference (Nothing in VB).
Public Function New( _
ByVal message As String _
A 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.
For an example, refer to ScreenCaptureException.