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
声明
Sub ReportError ( _
ErrMsg As String, _
hr As Integer, _
HelpKeyword As String _
)
用法
Dim instance As IVCProjectEngineEvents
Dim ErrMsg As String
Dim hr As Integer
Dim HelpKeyword As String
instance.ReportError(ErrMsg, hr, HelpKeyword)
void ReportError(
string ErrMsg,
int hr,
string HelpKeyword
)
void ReportError(
String^ ErrMsg,
int hr,
String^ HelpKeyword
)
function ReportError(
ErrMsg : String,
hr : int,
HelpKeyword : String
)
Parameters
ErrMsg
Type: System.StringRequired. The error msg.
hr
Type: System.Int32Required. The error code.
HelpKeyword
Type: System.StringRequired. The help keyword.
Remarks
The ReportError method advises the Visual Studio integrated development environment (IDE) that it must handle an error.
Permissions
- 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.
See Also
Reference
IVCProjectEngineEvents Interface