BackgroundWorker _DoWorkで長いプロセスを実行する関数を呼び出すBackgroundWorkerがあります。関数でエラーが発生すると、カスタマイズされたメッセージボックスが表示されます。
WPFMessageBoxResult result = WPFMessageBox.Show("Activation Fail", "Error!!", WPFMessageBoxButtons.OK, WPFMessageBoxImage.Error);
以下の例外は、WPFMessageBoxResultクラスで発生します。
The calling thread must be STA, because many UI components require this.
ありがとうございました。