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


IGeoProcessor2.GetMessages Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.GetMessages Method
ArcGIS Developer Help

IGeoProcessor2.GetMessages Method

Return all of the message descriptions of the last tool executed.

[Visual Basic .NET]
Public Function GetMessages ( _
    ByRef pSeverity As Object _
) As String
[C#]
public string GetMessages (
    ref object pSeverity
);
[C++]
HRESULT GetMessages(
  Variant* pSeverity
);
[C++]
Parameters
pSeverity [in]

pSeverity is a parameter of type VARIANT*

Product Availability

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

See Also

IGeoProcessor2 Interface