IVsLanguageServiceBuildErrorReporter::ReportError Method (String^, String^, VSTASKPRIORITY, Int32, Int32, String^)

 

Reports a build error.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: