Compartilhar via


IVsLanguageServiceBuildErrorReporter2.ReportError Method

Definition

public:
 int ReportError(System::String ^ bstrErrorMessage, System::String ^ bstrErrorId, Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY nPriority, int iLine, int iColumn, System::String ^ bstrFileName);
public:
 int ReportError(Platform::String ^ bstrErrorMessage, Platform::String ^ bstrErrorId, Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY nPriority, int iLine, int iColumn, Platform::String ^ bstrFileName);
int ReportError(std::wstring const & bstrErrorMessage, std::wstring const & bstrErrorId, Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY nPriority, int iLine, int iColumn, std::wstring const & bstrFileName);
public int ReportError (string bstrErrorMessage, string bstrErrorId, Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY nPriority, int iLine, int iColumn, string bstrFileName);
abstract member ReportError : string * string * Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY * int * int * string -> int
Public Function ReportError (bstrErrorMessage As String, bstrErrorId As String, nPriority As VSTASKPRIORITY, iLine As Integer, iColumn As Integer, bstrFileName As String) As Integer

Parameters

bstrErrorMessage
String
bstrErrorId
String
nPriority
VSTASKPRIORITY
iLine
Int32
iColumn
Int32
bstrFileName
String

Returns

Implements

Applies to