"kris" <kr**@discussions.microsoft.comwrote in message
news:81**********************************@microsof t.com...
hi
I can see even the exception class name in ex.Detail.OuterXml.
How to retrieve that class so that i can catch in that class instead of
SOAPEXCEPTION class.
You can't, because you're not seeing the class name. You're seeing some text
that _looks_ like a class name. It's just a text message, and the format of
it is subject to change at any time. Do not use it for any purpose other
than to display the text of the message or log it to the event log or
somewhere.
If Microsoft had been attempting to send you the class name, they would have
sent it in the standard full format. Something like this:
"System.Configuration.AppSettingsSection, System.Configuration,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Also, if Microsoft had intended you to catch specific exceptions, they would
have done it for you, and not required you and everyone else to do it
yourself.
So, please do yourself a favor and stop there; any further will be a hack,
and likely a fragile one at that.
--
John Saunders [MVP]