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 can you use a custom controls in ASP.NET application?
0 Answers Sans Pareil IT Services,
What methods are fired during the page load?
Differentiate between globalization and localization.
define silverlight and advantages ?
List down the sequence of methods called during the page load.
How do you handle unhandled exceptions in ASP.NET?.
What is the parent class of all web server control?
SessionState - type of sessionstate and when and how to use it
What does ascx stand for?
How can we communicate with each server in N-tier Architecture? and what are the methods?
What is caching? What are the different types of caching?
Which is the best institute for ASP.NET?
8 Answers ABC Infotech, Tech Mahindra,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)