![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
| ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.MessageCount Property (ArcObjects .NET 10.5 SDK) | 
The number of returned messages.
[Visual Basic .NET] Public ReadOnly Property MessageCount As Integer
[C#] public int MessageCount {get;}
[C++]
HRESULT get_MessageCount(
  long* Count
);
[C++]
Parameters Count [out, retval] Count is a parameter of type long