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


IGPMessage.Type Property (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.Type Property
ArcGIS Developer Help

IGPMessage.Type Property

The geoprocessing message type.

[Visual Basic .NET]
Public Property Type As esriGPMessageType
[C#]
public esriGPMessageType Type {get; set;}
[C++]
HRESULT get_Type(
void
);
[C++]
HRESULT put_Type(
);

Product Availability

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

Remarks

The get_Type property returns the message's type. Valid values are defined in the esriGPMessageType enumeration; they are: esriGPMessageTypeInformative, esriGPMessageTypeProcessDefinition, esriGPMessageTypeProcessStart, esriGPMessageTypeProcessStop, esriGPMessageTypeWarning, esriGPMessageTypeAbort, esriGPMessageTypeError, and esriGPMessageTypeEmpty.

See Also

IGPMessage Interface

.NET Samples

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