IVsProjectBuildMessageEvents::OnBuildMessage Method (UInt32, String^, String^, String^, Int32, Int32, Int32, Int32, String^, Object^)
Called for every build message received from the build system by the implementer of IVsProjectBuildMessageReporter. This method is called before the implementer does any usual processing of the message (such as creating a corresponding Error List item, and so on).
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
bool OnBuildMessage( unsigned int Category, String^ szMessage, String^ szErrorCode, String^ szHelpKeyword, int line, int column, int endingLine, int endingColumn, String^ szFile, Object^ pAdditionalInfo )
Parameters
- Category
-
Type:
System::UInt32
[in] Describes the severity of the error message.
- szMessage
-
Type:
System::String^
[in] The error message.
- szErrorCode
-
Type:
System::String^
[in] The error code of the error message.
- szHelpKeyword
-
Type:
System::String^
[in] Keyword for the error message.
- line
-
Type:
System::Int32
[in] Starting line on which the error occurred. Line numbers start at 1.
- column
-
Type:
System::Int32
[in] Starting column in which the error occurred. Column numbers start at 1.
- endingLine
-
Type:
System::Int32
[in] Ending line on which the error occurred.
- endingColumn
-
Type:
System::Int32
[in] Ending column in which the error occurred.
- szFile
-
Type:
System::String^
[in] The file in which the error occurred.
- pAdditionalInfo
-
Type:
System::Object^
[in, optional] Object containing any additional information about the error message.
Return Value
Type: System::BooleanBoolean that indicates if any more error messages should be processed. If true, the caller must assume that the implementation of this method has taken full responsibility over its proper processing and reporting. In particular, the caller must not create any Error List items corresponding to this message. Furthermore, if there is more than one subscriber to this event, the remaining subscribers will not be called. If false, the caller must proceed to invoke any remaining subscribers. If all subscribers set this value to false, the message will be processed normally (that is, an Error List item is created and so on).