다음을 통해 공유


IVsLanguageServiceBuildErrorReporter Interface

Provides error reporting for a language service with a project system.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("A7C1346C-6FD6-4AD5-A6FA-AE732AA42040")> _
Public Interface IVsLanguageServiceBuildErrorReporter
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("A7C1346C-6FD6-4AD5-A6FA-AE732AA42040")]
public interface IVsLanguageServiceBuildErrorReporter
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"A7C1346C-6FD6-4AD5-A6FA-AE732AA42040")]
public interface class IVsLanguageServiceBuildErrorReporter
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("A7C1346C-6FD6-4AD5-A6FA-AE732AA42040")>]
type IVsLanguageServiceBuildErrorReporter =  interface end
public interface IVsLanguageServiceBuildErrorReporter

The IVsLanguageServiceBuildErrorReporter type exposes the following members.

Methods

  Name Description
Public method ClearErrors Clears existing build errors.
Public method ReportError Reports a build error.

Top

Remarks

If this interface is implemented, the project system first calls ReportError before doing any error handling. If the language service handles the reporting (returning anything other than E_NOTIMPL), the project system does not report the error to the error list. The project system calls ClearErrors when the errors reported to the language service are no longer valid, such as when the next build begins.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace