posted on Wednesday, January 16, 2008 11:21 PM by BayerWhite

FaultHandler's Fault Property Issue

I was trying to bubble up an error that my service passes my workflow by using a FaultHandler Activity, when I noticed that the Fault property was acting quirky. At first I could not set the fault because it was grayed out, however I noticed that the "Promote Bindable Properties" was enabled. After clicking it, a dependency property was created however I was still getting errors.

While trying to research this issue I noticed the following MS Feedback that someone posted just four days ago. Hopefully MS will respond with a workaround here soon! I'll keep ya posted.

Comments

# re: FaultHandler's Fault Property Issue

Thursday, January 17, 2008 12:17 AM by BayerWhite
After playing with it a bit I came up with a workaround. It is posted it here (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=322276)

# re: FaultHandler's Fault Property Issue

Thursday, January 17, 2008 12:38 PM by bgearon
I have found one way to do it - declaratively. In the FaultHandlersActivity - if you create a FaultHandler with a specific type to handle a specific exception, you place a child activity in the handler. For instance, a ThrowActivity- you simply bind it to the parent - Fault property.