ScreenCaptureException Constructor (String, Exception)

Initializes a new instance of the ScreenCaptureException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Namespace: Microsoft.Expression.Encoder.ScreenCapture
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New ScreenCaptureException(message, innerException)
public ScreenCaptureException (
    string message,
    Exception innerException
)
public:
ScreenCaptureException (
    String^ message, 
    Exception^ innerException
)

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

ScreenCaptureException Class
ScreenCaptureException Members
Microsoft.Expression.Encoder.ScreenCapture Namespace