This document is archived and information here might be outdated. Recommended version. |
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. |
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.