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

NameDescription
System_CAPS_pubmethodClearErrors()

Clears existing build errors.

System_CAPS_pubmethodReportError(String, String, VSTASKPRIORITY, Int32, Int32, String)

Reports a build error.

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 T:Microsoft.VisualStudio.VSConstants.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.

Return to top
Show: