July 2015
Intermediate to advanced
366 pages
8h 7m
English
As I mentioned in the last recipe, all tools generate a number of messages that can be classified as information, warnings, or error messages. The GetMessages() method accepts a parameter that allows you to filter the messages that are returned. For example, you may not be interested in the informative or warning messages in your script. However, you will certainly be interested in error messages as they indicate a fatal error that will not allow a tool to successfully execute. Using GetMessages(), you can filter the returned message to include only error messages.
Messages are classified into one of three types, which are indicated by the level of severity. Informational messages
Read now
Unlock full access