Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: System.String
Required. The error msg.
- hr
Type: System.Int32
Required. The error code.
- HelpKeyword
Type: System.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
- 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.