Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can u handle Un Managed Code Exceptions in ASP.Net?

Answer Posted / bala.r

.NET handles errors through exception classes. COM handles
errors through 32-bit data types called HRESULTs. All of
the .NET exception classes include HResult properties that
map to COM HRESULT codes.

If an exception occurs in a .NET object, the exception is
automatically mapped to the appropriate HRESULT and
returned to COM. Similarly, if an exception occurs in a COM
object, the COM HRESULT is mapped to the appropriate
exception class, which is returned to .NET, where it can be
handled just like any other exception.

If you are creating your own .NET exception classes for use
with COM, be sure to set the class&#8217;s HResult property so
that the exception can be handled within COM.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net framework and what are the main components of it?

850


Explain asp.net mvc request life cycle? : asp.net mvc

1082


What is difference between singleton and single call?

1099


Can we make activex dll also ti execute in some process as that of client ? How can we do?

4749


What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?

1127


How Session outproc in Sqlserver stored?

2762


How would you enable impersonation in the web.config file?

1002


how to retrieve property settings from xml .config file.

999


Explain about asp.net 2.0 themes?

977


Explain the difference between globalization and localization techniques

1009


What is http protocol and how it works?

1046


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

985


What is the difference between session and viewstate in asp.net?

1122


How do you initiate validation on the server manually? What are two situations when you might you want to do that?

1840


Where is asp.net view state stored?

1009