ESRI.ArcGIS.Geoprocessor
AddError Method
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.Geoprocessor Namespace > Geoprocessor Class : AddError Method




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

Syntax

Visual Basic (Declaration) 
Public Sub AddError( _
   ByVal error As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As Geoprocessor
Dim error As String
 
instance.AddError(error)
C# 
public void AddError( 
   string error
)

Parameters

error
Error string to add.

See Also

© 2010 All Rights Reserved.