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 |
How does SQL Server session state works
How can you pass multiple complex types in Web API?
Define WCF ABC , Diffrent Contract. Diff b/w Wcf and in webservice
what are the application layers for a distribute application?
what is the assembly?
Why do we need Web Services?
Can we have 2 web config files?
how can i deploy a asp.net webapplication.in a company so that all employees may access application on their different computers and share a single database. plz tell me the steps to do it..thanks.
Who will magage un-managed code?
What?s the difference between Response.Write() andResponse.Output.Write()?
repeater and gridview diff? Why is repeater fast than gridview?
What is Bundling and Minification in MVC?