Cyberiafreak

"Fortunate are those who take the first steps.” ― Paulo Coelho

Designing Custom Exceptions

There are so many articles in Web regarding this, but I had a doubt on Serializable attribute on few CustomException in my project. Here is the crux – If you are seriously thinking of passing your exception across remoting boundaries using web service or across AppDomain… then it makes sense to decorate your custom exception with ‘serializable’ attribute- else keep it simple 🙂
Read it from here – http://msdn.microsoft.com/en-us/library/ms229064.aspx

Advertisements

April 17, 2012 - Posted by | Uncategorized

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: