ParseException Constructor (String, Exception)

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

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

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

Dim instance As New ParseException(message, _
    inner)
public ParseException(
    string message,
    Exception inner
)
public:
ParseException(
    String^ message, 
    Exception^ inner
)
public function ParseException(
    message : String, 
    inner : Exception
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

  • inner
    Type: System.Exception

    The exception that is the cause of the current exception, or nulla null reference (Nothing in Visual Basic) if no inner exception is specified.

.NET Framework Security

See Also

Reference

ParseException Class

ParseException Members

ParseException Overload

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace