C#
VB
C++
Initializes a new instance of the ScreenCaptureException class with its Message string set to the default message that corresponds to code and its inner exception set to a null reference (Nothing in VB).
For an example, refer to ScreenCaptureException.