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 role-based security?
What is server side in asp.net?
Differentiate globalization and localization.
Difference between Response.Expires and Expires.Absolute ?
1 Answers Accenture, BirlaSoft,
Describe Segmentation With Paging?
can we transfer data from one page to another page using viewstate if so how?if not y?
How long does an http session last?
What is view state and how it works in asp net?
What is Model-View-View Model?
what are the levels of securities need to be considered for the finincial web application?
Why we use asp.net for website development?
What is WebService ?
8 Answers Tanla Solutions, Yahoo,