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 |
For Web services where you can browse on the Internet?
What is the significance of attaching a profile while creating a user?
How you can access the properties and controls of master pages from content pages?
what do machine key element in configuration file specify?
What is asp net objects?
I create small website, i want accept all the browser this website? what will do?
any body help me. Is it possible to convert text in gif images into word document with the same text? thanks in advance.
What is clickid?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What is Web Application?
what is webservices. howit is use in our project .
wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?