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?



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

Answer / 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

More ASP.NET Interview Questions

How can you use a custom controls in ASP.NET application?

0 Answers   Sans Pareil IT Services,


What methods are fired during the page load?

1 Answers  


Differentiate between globalization and localization.

0 Answers  


define silverlight and advantages ?

3 Answers   QA,


List down the sequence of methods called during the page load.

0 Answers  


How do you handle unhandled exceptions in ASP.NET?.

3 Answers  


What is the parent class of all web server control?

0 Answers  


SessionState - type of sessionstate and when and how to use it

1 Answers   Syntel,


What does ascx stand for?

0 Answers  


How can we communicate with each server in N-tier Architecture? and what are the methods?

0 Answers   Wipro,


What is caching? What are the different types of caching?

6 Answers  


Which is the best institute for ASP.NET?

8 Answers   ABC Infotech, Tech Mahindra,


Categories