In a frustrating manner; in a manner that causes frustration.
In a manner inspiring or deserving regret.