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’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
Is asp.net a language?
What are ASHX files?
What is the difference between custom web user control and a custom web server control?
What are the security types in ASP/ASP.NET? Different Authentication modes?
How does session authentication work?
What is authorization in asp.net?
What are asp.net web forms?
What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
What is difference between viewstate and session in asp net?
What are session objects?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
What is the difference between pathparam and queryparam?
What is the advantage of using Windows authentication in a Web application?
What are the new data controls in asp.net 2.0?