This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.GetMessages Method (ArcObjects .NET 10.4 SDK) |
Gets all the return messages.
[Visual Basic .NET] Public Function GetMessages ( _ [ByRef severity As Object] _ ) As String
[C#] public string GetMessages ( ref object severity );
Optional Values
[C++]
HRESULT GetMessages(
VARIANT* severity,
BSTR* Messages
);
[C++]
Parameters severity [optional] severity is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. Messages [out, retval] Messages is a parameter of type BSTR