Groups > Asp .Net > ASP.NET XML Web Services > Problem with property of type CustomException which inherits from Exception




Problem with property of type CustomException which inherits
from Exception

Problem with property of type CustomException which inherits from Exception
Mon, 31 Mar 2008 16:09:21 +000
I am trying to expose an object as a return of a webmethod. THe problem is this
obejct has a property named Error which is of type CustomError which in turn
inherits from System.Exception. My question is there any way to hide this
property from the serizalizer so I don't get this error? I was able to implement
it on the local field [NonSerialable] but not on the property. 

ANy ideas? THanks,
Post Reply
about | contact