Home > Products > CSHTMLDiff Control > Documentation > User Guide

MessageDisplayLevel
Previous  Top  Next


 
Enum MessageDisplayLevel  
 
Values  
 
showAll       = 0   Display all messages.  
SelectiveInfo    = 0   Not supported.  
Info       = 1   Display Informative, Warning and Error messages.  
Warning       = 2   Display only Warning and Error messages.  
Error       = 3   Display only Error messages.  
showNone    = 4    Suppress all messages.  
 
Remarks  
 
The constant is used to determine the level of message-boxes shown to the end-user.  
CSHTMLDiff notifications are divided into several categories depending on severity, and ranging from simple informative events to severe errors.  
Using the SetMessageDisplayLevel method, the programmer can determine the level of notification which the user will receive.  
 
In the lowest message level, all notifiable events will be displayed as message boxes. Higher message levels include only severe error messages, if any at all.  
 
Error messages also cause exceptions to be raised. Suppressing error-messages (via showNone constant) will not suppress exceptions caused by run-time errors. These exceptions must be caught and handled properly by the programmer.  
 
See Also  
 
   SetMessageDisplayLevel