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


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

IGPMessages.GetMessage Method

Provides a message object from the specified location.

[Visual Basic .NET]
Public Function GetMessage ( _
    ByVal Index As Integer _
) As IGPMessage
[C#]
public IGPMessage GetMessage (
    int Index
);
[C++]
HRESULT GetMessage(
  long Index
);
[C++]
Parameters
Index [in]

Index is a parameter of type long

Product Availability

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

Remarks

The GetMessage property returns the specified GPMessage object from this collection. 

See Also

IGPMessages Interface

.NET Samples

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