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


IGPMessage Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessage Interface
ArcGIS Developer Help

IGPMessage Interface

Provides access to the properties of a Geoprocessor message.

Product Availability

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

When To Use

The IGPMessage interface returns a GPMessage object from an IGPMessages array, a collection of GPMessage objects. Messages are returned during the validating and executing of a geoprocessing tool.

Also refer to Building Geoprocessing Function Tools.

Members

Name Description
Read/write property Description The description of the geoprocessing message.
Read/write property ErrorCode The error code for the geoprocessing message.
Method IsAbort Indicates if the message is an abort.
Method IsError Indicates if the message is an error.
Method IsInformational Indicates if the message is informative.
Method IsWarning Indicates if the message is a warning.
Read/write property Type The geoprocessing message type.

Classes that implement IGPMessage

Classes Description
GPMessage
GPMessages

Remarks

The GPMessage object is composed of a message type, error code, and description. The message type can be ErrorWarning, or Informative.

 

See also IGPMessages

.NET Samples

Closest facility solver Calculate area geoprocessing function tool Geoprocessing events listener Executing geoprocessing tools in the background Location-allocation solver Service area solver Vehicle routing problem solver