ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor2.AddMessage Method

Output an informative message. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console

[Visual Basic .NET]
Public Sub AddMessage ( _
    ByVal message As String _
)
[C#]
public void AddMessage (
    string message
);
[C++]
HRESULT AddMessage(
  BSTR message
);
[C++]

Parameters

message [in]   message is a parameter of type BSTR

Product Availability

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

See Also

IGeoProcessor2 Interface

.NET Related Topics

How to create a script tool that runs an EXE |