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


IGeoProcessorResult Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessorResult Interface

The Geoprocessor Result. Provides access to the results of tools.

Product Availability

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

Members

Description
Method Cancel Cancel the job.
Method GetInput Return the input by index.
Method GetMapImageURL Delete the job and all associated data.
Method GetMessage Return the message description by index.
Method GetMessages Return all of the message descriptions.
Method GetOutput Return the output by index.
Method GetResultMessages Return the GPMessages object which will be messages.
Method GetReturnCode Return the message error code (Error Messages Only) by index.
Method GetSeverity Return the message severity by index.
Read-only property InputCount Return the number of inputs.
Read-only property MaxSeverity Return the maximum severity of the message.
Read-only property MessageCount Return the number of messages.
Read-only property OutputCount Return the number of outputs.
Read-only property ResultID Get the job ID.
Read-only property ReturnValue Get the GeoProcessor return value.
Read-only property Status Get the job status.

CoClasses that implement IGeoProcessorResult

CoClasses and Classes Description
GeoProcessorResult GeoProcessorResult Access.

.NET Snippets

Create Slope

.NET Samples

Create a geoprocessing tool to buffer a layer and retrieve messages (Code Files: BufferDlg)

.NET Related Topics

Creating an address locator | How to access the features in an in-memory output layer using IFeatureCursor | How to create a composite address locator | How to execute a geoprocessing tool using an add-in | How to geocode a table of addresses | How to rematch a geocoded feature class | How to reverse geocode point features in a feature class | How to run a geoprocessing tool | How to standardize an address | How to work with geoprocessing services