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)

Syntax

'Declaration
<GuidAttribute("F1AF0080-C965-4E73-8763-3C6309707D59")> _
<InterfaceTypeAttribute()> _
Public Interface IVsLanguageDebugInfo2
'Usage
Dim instance As IVsLanguageDebugInfo2
[GuidAttribute("F1AF0080-C965-4E73-8763-3C6309707D59")]
[InterfaceTypeAttribute()]
public interface IVsLanguageDebugInfo2
[GuidAttribute(L"F1AF0080-C965-4E73-8763-3C6309707D59")]
[InterfaceTypeAttribute()]
public interface class IVsLanguageDebugInfo2
public interface IVsLanguageDebugInfo2

Remarks

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).

See Also

Reference

IVsLanguageDebugInfo2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace