IVsLanguageServiceBuildErrorReporter::ReportError Method (String^, String^, VSTASKPRIORITY, Int32, Int32, String^)
Visual Studio 2015
Reports a build error.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int ReportError( String^ bstrErrorMessage, String^ bstrErrorId, VSTASKPRIORITY nPriority, int iLine, int iColumn, String^ bstrFileName )
Parameters
- bstrErrorMessage
-
Type:
System::String^
The error message.
- bstrErrorId
-
Type:
System::String^
The error ID.
- nPriority
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSTASKPRIORITY
The error priority.
- iLine
-
Type:
System::Int32
The line of the source code file.
- iColumn
-
Type:
System::Int32
The column of the source code file.
- bstrFileName
-
Type:
System::String^
The source code file name.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: