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


IGPMessage.IsError Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  VARIANT_BOOL* IsError
);
[C++]

Parameters IsError [out, retval] IsError is a parameter of type VARIANT_BOOL

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 (Code Files: CalculateAreaFunction)