Partager via


IVsLanguageServiceBuildErrorReporter Interface

Definition

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

public interface class IVsLanguageServiceBuildErrorReporter
public interface class IVsLanguageServiceBuildErrorReporter
__interface IVsLanguageServiceBuildErrorReporter
[System.Runtime.InteropServices.Guid("A7C1346C-6FD6-4AD5-A6FA-AE732AA42040")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLanguageServiceBuildErrorReporter
[<System.Runtime.InteropServices.Guid("A7C1346C-6FD6-4AD5-A6FA-AE732AA42040")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLanguageServiceBuildErrorReporter = interface
Public Interface IVsLanguageServiceBuildErrorReporter
Derived
Attributes

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.

Methods

ClearErrors()

Clears existing build errors.

ReportError(String, String, VSTASKPRIORITY, Int32, Int32, String)

Reports a build error.

Applies to