This documentation is archived and is not being maintained.

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)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("A7C1346C-6FD6-4AD5-A6FA-AE732AA42040")]
public interface IVsLanguageServiceBuildErrorReporter

The IVsLanguageServiceBuildErrorReporter type exposes the following members.

  NameDescription
Public methodClearErrorsClears existing build errors.
Public methodReportErrorReports a build error.
Top

If this interface is implemented, the project system first calls ReportError(String, String, VSTASKPRIORITY, Int32, Int32, String) 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.

Show: