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: StringRequired. The error msg.
hr
Type: Int32Required. The error code.
HelpKeyword
Type: StringRequired. The help keyword.
Remarks
The ReportError method advises the Visual Studio integrated development environment (IDE) that it must handle an error.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.