IParameterInspector and Faults

Link. October 12, 2006. Comments [2]. Posted in: WCF | WinFX

One thing I didn't mention in my past articles about the IParameterInspector in Windows Communication Foundation is how it behaves when an operation returns a fault (throws an exception). The answer is: It doesn't.

When the operation faults, the AfterCall() method in your parameter inspector will never be called.



Friday, January 19, 2007 3:41:59 PM (SA Pacific Standard Time, UTC-05:00)
Any idea how to determine if an exception was thrown from within your inspector?
Friday, January 19, 2007 9:11:46 PM (SA Pacific Standard Time, UTC-05:00)
John: I never found a way to do so. I ended up switching to message inspectors as a workaround for my particular need.
Comments are closed.

Syndicate

About

Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...

tomasrestrepo @ twitter My Flickr photostream My saved links on delicious My Technorati Profile

email: tomas@winterdom.com
msn: tomasr@passport.com

View my profile on LinkedIn

MVP logo

Ads


Categories

Statistics

Total Posts: 1050
This Year: 1
This Month: 1
This Week: 0
Comments: 826

Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 2.2.8279.16125

Sign In