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)

public interface IVsLanguageServiceBuildErrorReporter

The IVsLanguageServiceBuildErrorReporter type exposes the following members.

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

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.