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 to do Caching in ASP?

1 Answers  


What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

4 Answers   ABC, Syntax Softtech, TCS,


What is an application domain?

2 Answers   Microsoft,


What are the asp.net objects? is it application obects, cache objests etc. or is it state managements, web services etc?

3 Answers   Syntel,


What is state management react?

0 Answers  


How many web.config files can I have in an application?

0 Answers  


what is the difference between this.controls and page.form1.controls and me.controls?

2 Answers   FactorH,


Rate yourself in .net and sql database?

1 Answers   BrickRed, Infosys, Satyam, SP Software,


What are clr?cts?cls?

4 Answers   e4e, HCL, Microsoft, Tata Communications,


In which event of the page viewstate is available?

0 Answers  


What is difference between web api and web services?

0 Answers  


How do you declare static variable? What is its lifetime?

0 Answers  


Categories