Include exception guid in Fault Contract Exception Handler message?

Topics: Exception Handling Application Block
Jun 17, 2010 at 11:02 PM

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?

Thanks,

-Ben

Jun 18, 2010 at 2: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.
entlib.support@avanade.com