ArcGIS Enterprise SDK
IErrorCollection Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.System > Interfaces > IE > IErrorCollection Interface
ArcGIS Developer Help (ESRI.ArcGIS.esriSystem)

IErrorCollection Interface

Provides access to members that control an Error Collection.

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