IVsLanguageDebugInfo2 Interface
Provides support for exception handlers in a language service.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in microsoft.visualstudio.textmanager.interop.8.0.dll)
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in microsoft.visualstudio.textmanager.interop.8.0.dll)
This interface provides support for working with exception handlers in a language service. Specifically, this interface can be used to locate a catch block, determine where a specified position is within a try/catch block, and validate a specified position for placing a breakpoint.
Notes to Implementers This interface must be implemented on the same object that implements the IVsLanguageDebugInfo interface; typically, this is on the language service object itself. Notes to Callers Use this interface when you need detailed information about an exception handler in source code. Obtain this interface from the IVsLanguageDebugInfo interface by calling the QueryInterface method (C++) or by casting the IVsLanguageDebugInfo interface to an IVsLanguageDebugInfo2 interface (C#, Visual Basic).