Share via


ErrorException Constructor (String, Exception)

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

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

Syntax

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

Dim instance As New ErrorException(message, innerException)
protected ErrorException (
    string message,
    Exception innerException
)
protected:
ErrorException (
    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

ErrorException Class
ErrorException Members
Microsoft.Expression.Encoder Namespace