Share via


IVCProjectEngineEvents.ReportError(String, Int32, String) Method

Definition

Sends an error message to the user interface.

public:
 void ReportError(System::String ^ ErrMsg, int hr, System::String ^ HelpKeyword);
public:
 void ReportError(Platform::String ^ ErrMsg, int hr, Platform::String ^ HelpKeyword);
void ReportError(std::wstring const & ErrMsg, int hr, std::wstring const & HelpKeyword);
[System.Runtime.InteropServices.DispId(281)]
public void ReportError (string ErrMsg, int hr, string HelpKeyword);
[<System.Runtime.InteropServices.DispId(281)>]
abstract member ReportError : string * int * string -> unit
Public Sub ReportError (ErrMsg As String, hr As Integer, HelpKeyword As String)

Parameters

ErrMsg
String

Required. The error msg.

hr
Int32

Required. The error code.

HelpKeyword
String

Required. The help keyword.

Attributes

Remarks

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

Applies to