ParseException Class

The exception that is thrown when the integrated development environment is unable to parse code that is written by the AddMethod or AddEventHandler methods.

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
<SerializableAttribute> _
Public NotInheritable Class ParseException _
    Inherits Exception
'Usage
Dim instance As ParseException
[SerializableAttribute]
public sealed class ParseException : Exception
[SerializableAttribute]
public ref class ParseException sealed : public Exception
public final class ParseException extends Exception

Remarks

This exception can occur if the add-in developer modifies a section of code that should not be modified; if the code being written already exists; or if an expected class does not exist.

The Message property contains more information about what caused the error. You can display this information so that the add-in developer can correct the error.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.DesignTime.ParseException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ParseException Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace