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’s HResult property so
that the exception can be handled within COM.
Is This Answer Correct ? | 9 Yes | 1 No |
What is session management in web application?
I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?
7 Answers eMids, Infotech, Integra, TCS, Wipro,
Why we use content place holder in asp.net?
What are Master pages? How to define a Master page?
Explain culture and uiculture values.
Distinguish between Server-side and Client-side code?
Turn Off ASP Session State on an IIS 5.1 Web Site
What is difference between mvc and asp.net? : Asp.Net MVC
How many classes can a single .NET DLL contain?
Explain method to handle error using HttpError in Web API?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
Where do you store the information about the user?s locale?