次の方法で共有


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

'宣言
<GuidAttribute("F1AF0080-C965-4E73-8763-3C6309707D59")> _
<InterfaceTypeAttribute()> _
Public Interface IVsLanguageDebugInfo2
'使用
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
[<GuidAttribute("F1AF0080-C965-4E73-8763-3C6309707D59")>]
[<InterfaceTypeAttribute()>]
type IVsLanguageDebugInfo2 =  interface end
public interface IVsLanguageDebugInfo2

Remarks

This interface provides support for working with exception handlers in a language service. It 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.

You can get this interface from the IVsLanguageDebugInfo interface by calling the QueryInterface method in unmanaged code or by casting the IVsLanguageDebugInfo interface to an IVsLanguageDebugInfo2 interface in managed code.

See Also

Reference

IVsLanguageDebugInfo2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace