ArcObjects Library Reference (GeoDatabase)  

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(
  esriGPMessageType* Type
);
[C++]
HRESULT put_Type(
  esriGPMessageType Type
);
[C++]

Parameters

Type [out, retval]

  Type is a parameter of type esriGPMessageType

Type [in]

  Type is a parameter of type esriGPMessageType

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

Executing geoprocessing tools in the background (Code Files: RunGPForm) | Geoprocessing events listener (Code Files: GPEventHelper) | Import signposts (Code Files: ImportDynamapSignsFunction ImportMultiNetSignsFunction ImportNavStreetsSignsFunction) |