ArcObjects Library Reference (GeoDatabase)  

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,
  IGPMessage** msg
);
[C++]

Parameters

Index [in]   Index is a parameter of type long msg [out, retval]

  msg is a parameter of type IGPMessage

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

ArcGIS GPConsole (Code Files: Program) | Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Closest facility solver (Code Files: frmClosestFacilitySolver) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Geoprocessing events listener (Code Files: GPEventHelper) | Import signposts (Code Files: ImportDynamapSignsFunction ImportMultiNetSignsFunction ImportNavStreetsSignsFunction) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) | Service area solver (Code Files: frmServiceAreaSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) |

.NET Related Topics

Running a geoprocessing tool using background geoprocessing |