This document is archived and information here might be outdated.  Recommended version.


IErrorCollection Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IErrorCollection Interface
ArcGIS Developer Help

IErrorCollection Interface

Provides access to members that control an Error Collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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 which created the error, and a description of the error.

QI from IErrorInfo to IErrorCollection.

See the Error Handling in Components topics for more details.

Members

Name Description
Read-only property ErrorCount The count of error records.
Read-only property ErrorDescription The description of the specified error record.

Classes that implement IErrorCollection

Classes Description