Bug 1437 - WCF FaultException<TDetail> support missing (possible fix included)
Summary: WCF FaultException<TDetail> support missing (possible fix included)
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 4.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-11 21:24 UTC by Justin S.
Modified: 2012-02-03 21:07 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
changes to System.ServiceModel (9.78 KB, application/zip)
2011-10-11 21:24 UTC, Justin S.
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Justin S. 2011-10-11 21:24:45 UTC
Created attachment 676 [details]
changes to System.ServiceModel

There exists a number of #if !NET_2_1 statements around support for FaultExceptions.

Simply removing these has fixed the issue for me and FaultExceptions in WCF now work correctly.

Look for the following comment:
// TODO Confirm removal of #if !NET_2_1

In the attached files.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-01-30 09:24:42 UTC
Do you have a sample where FaultExceptions don't work for you? I'm trying to fix it, and I'd like as many cases as possible (the other case I'm testing is not fixed by your changes for instance).
Comment 2 Rolf Bjarne Kvinge [MSFT] 2012-02-03 21:07:18 UTC
Fix committed in 27045a1b.