Share via


IVsLanguageServiceBuildErrorReporter2.ReportError Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function ReportError ( _
    bstrErrorMessage As String, _
    bstrErrorId As String, _
    nPriority As VSTASKPRIORITY, _
    iLine As Integer, _
    iColumn As Integer, _
    bstrFileName As String _
) As Integer
int ReportError(
    string bstrErrorMessage,
    string bstrErrorId,
    VSTASKPRIORITY nPriority,
    int iLine,
    int iColumn,
    string bstrFileName
)
int ReportError(
    [InAttribute] String^ bstrErrorMessage, 
    [InAttribute] String^ bstrErrorId, 
    [InAttribute] VSTASKPRIORITY nPriority, 
    [InAttribute] int iLine, 
    [InAttribute] int iColumn, 
    [InAttribute] String^ bstrFileName
)
abstract ReportError : 
        bstrErrorMessage:string * 
        bstrErrorId:string * 
        nPriority:VSTASKPRIORITY * 
        iLine:int * 
        iColumn:int * 
        bstrFileName:string -> int
function ReportError(
    bstrErrorMessage : String, 
    bstrErrorId : String, 
    nPriority : VSTASKPRIORITY, 
    iLine : int, 
    iColumn : int, 
    bstrFileName : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsLanguageServiceBuildErrorReporter2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace