IVCProjectEngineEvents.ReportError Method

Sends an error message to the user interface.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
Sub ReportError ( _
    ErrMsg As String, _
    hr As Integer, _
    HelpKeyword As String _
)
void ReportError(
    string ErrMsg,
    int hr,
    string HelpKeyword
)
void ReportError(
    String^ ErrMsg, 
    int hr, 
    String^ HelpKeyword
)
abstract ReportError : 
        ErrMsg:string * 
        hr:int * 
        HelpKeyword:string -> unit
function ReportError(
    ErrMsg : String, 
    hr : int, 
    HelpKeyword : String
)

Parameters

  • ErrMsg
    Type: String

    Required. The error msg.

  • hr
    Type: Int32

    Required. The error code.

  • HelpKeyword
    Type: String

    Required. The help keyword.

Remarks

The ReportError method advises the Visual Studio integrated development environment (IDE) that it must handle an error.

.NET Framework Security

See Also

Reference

IVCProjectEngineEvents Interface

Microsoft.VisualStudio.VCProjectEngine Namespace