Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If you are using components in your application, how can you
handle exceptions raised in a component ?

Answer Posted / parag

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 ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Core features of ASP.NET MVC?

1066


how can you enhance the performance of entity framework?

1056


Explain the new features added in version 4 of mvc (mvc4)?

1014


What is a model in android?

966


What is .net framework & its benefits?

1065


Can I add asp.net mvc testcases in visual studio express?

1082


What is the advantage of mvc?

1044


explain lazy loading, eager loading, and explicit loading?

1018


What is the use of action filters in an mvc application?

1122


What are Validation Annotations?

1028


Do you know about the new features in ASP.Net MVC 4 ?

1092


What are the main features of asp.net mvc 4 used by asp.net web api?

1083


Explain the methods used to render the views in ASP.Net MVC?

1115


What is viewstart page in mvc?

1019


What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

1099