ArcObjects Library Reference (NetworkAnalystUI)  

esriNAMessageType Constants

Types of network analysis messages.

Constant Value Description
esriNAMessageTypeNone 0 The message is not of a specific type.
esriNAMessageTypeInformative 1 The message is informational.
esriNAMessageTypeWarning 2 The message is a warning.
esriNAMessageTypeError 4 The message is an error.

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Remarks

This enumeration is used to specify the types of messages shown after solving an analysis problem.  These values can be combined together in various combinations and passed to INetworkAnalystExtension::ShowAnalysisMessagesAfterSolve

For example, passing esriNAMessageTypeNone (0) means you do not want to see any messages after solve.  esriNAMessageTypeError + esriNAMessageTypeWarning (6) would mean you just want to see errors and warnings.