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


IGPMessage.IsError Method (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 > IGPMessage.IsError Method
ArcGIS Developer Help

IGPMessage.IsError Method

Indicates if the message is an error.

[Visual Basic .NET]
Public Function IsError ( _
) As Boolean
[C#]
public bool IsError (
);
[C++]
HRESULT IsError(
void
);

Product Availability

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

Remarks

The IsError method returns true if the message is of type esriGPMessageTypeError.

See Also

IGPMessage Interface

.NET Samples

Calculate area geoprocessing function tool