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

Is it possible to cancel filter execution?

1012


what is eager loading?

1012


which are the key concepts of entity data model?

1081


i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?

2219


Explain the advantages of dependency injection (di) in asp.net mvc?

1046


What are advantages of Dependency Injection (DI) in ASP.Net MVC?

1093


What are the components of the .net framework.

1044


What are the 3 main components of an asp.net mvc application?

1025


What is orm entity framework?

968


What is oauth in web api?

1017


In razor syntax, what is the escape sequence character for @ symbol?

990


What is work of clr?

990


Is it possible to create a custom filter?

993


Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?

1016


What are the versions of .net framework?

984