Tag Archives: exception

Generically handling multi-threading exceptions in WPF

You have a WPF app and you just want to show a message whenever an exception is raised an not handled anywhere else in code. The first try is surely this: This works fine, as long as the exception isn’t … Continue reading

Posted in .NET, C#, WPF | Tagged , , , | Leave a comment

NotSupportedException

When you do not want to implement a method at all, throw NotSupportedException in its body; do not throw NotImplementedException. For example if you want to define a Converter that, by design, would only need to support one way bindings for … Continue reading

Posted in .NET, C#, WPF | Tagged , | Leave a comment