![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm working on a project where I have to pass a serialized object to a ASP.NET web service and I recieve an exception because that the object cannot be serialized due to declarative security. The object in question is an Exception class and as such I cannot change the declarative security to imperative security permissions or demans in property accessors because I do not own the code to the Exception class. The following support article details how to do this in this way. http://support.microsoft.com/?kbid=326971 Is there a way that I can allow a WebMethod to take an Exception as a parameter and not recieve the security exception that results from attempting to serialize a class with declarative security? Thanks in advance Doug Holland |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |