ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
If you are using components in your application, how can you
handle exceptions raised in a component ?
 Question Submitted By :: Pranab Mukherjee
I also faced this Question!!     Rank Answer Posted By  
 
  Re: If you are using components in your application, how can you handle exceptions raised in a component ?
Answer
# 1
I think for simple Handling of Exceptions, we keep 
TRY,Catch Block and catch the exception and handle those 
ones.
 
Is This Answer Correct ?    5 Yes 3 No
Saikiran
 
  Re: If you are using components in your application, how can you handle exceptions raised in a component ?
Answer
# 2
use throw and catch to handle exception from component
 
Is This Answer Correct ?    1 Yes 3 No
Karthik
 
 
 
  Re: If you are using components in your application, how can you handle exceptions raised in a component ?
Answer
# 3
A method call in a COM server that has generated an
exception creates an instance of the COM error object using
the ICreateErrorInfo interface. The server then populates
the error object with information about the source and cause
of an error. When program control returns to the COM client,
the client can retrieve the error object, find the
information, and use this information determine how to
handle the error.

Unlike exceptions thrown within a program, COM exceptions do
not stop the flow of execution; instead, a COM error object
is created within the current thread. The error object
supports the IErrorInfo interface, which has methods
allowing the client to get the name of the class and
interface that created the error and a description of the error.

COM defines another interface, ISupportErrorInfo, which is
used to indicate that a class may create a COM error object.
Many ArcObjects classes implement the ISupportErrorInfo
interface.
 
Is This Answer Correct ?    1 Yes 0 No
Parag
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
If foreground completes its processing will it wait for background threads? Kanbay1
If background completes its processing will it wait for foreground threads? Kanbay1
How will you load dynamic assembly? How will create assemblies at run time? MGL3
what are background threads? give ex? Kanbay3
Can you handle all button click events at once in a form? Give coding. Kanbay1
How do you register the dotnet component or assembly ? Accenture1
If we want to construct our own Garbage collector what are the steps things we have to do? Honeywell3
what is difference b/w .net 1.1 and .net 2.0. I need Answer in c# , asp.net and ado.net Level.Like c#1.1 and c#.1.1 , ado.net1.1 and ado.net2.0 and asp.net1.1 and asp.net2.0  4
How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?  1
js fn to go to the particular page when enter is clicked  1
What is JIT and how is works ?  4
What is serialization ? MMTS4
Have you designed any components? HP1
What is reflection? Merrill-Lynch3
what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key? FutureSoft4
what are the different stepts to create shared assemblies?  1
About namespaces ? MMTS2
what are partial classes? HP11
Diffence between .net framework 1.0 and 2.0? DataPoint2
I am going for H1B visa interview, I am not having bank statement ,is it neccesary for stamping process? how to handle the,consulate people without that statement ?  2
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com