Include exception guid in Fault Contract Exception Handler message?

Topics: Exception Handling Application Block
Jun 18, 2010 at 12:02 AM

In the documentation for EL5, it says that you can include {HandlingInstanceId} and use it somehow in your Fault Contract Exception Handlers. 

Is there any way to get that exception guid to display INSIDE of the Exception Message of the FaultException?



Jun 18, 2010 at 3:31 AM

Unfortunately, you can't use the {HandlingInstanceId} token in Exception Message.   Your only option is to map it to a different property or create your own custom fault contract exception handler.


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.