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.StringThe error message that explains the reason for the exception.
inner
Type: System.ExceptionThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace