The following is an example of how to reference the MessageSeverity object:
// The full path is required. dundas.MessageSeverity.ERROR