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


IGeoProcessor2.ExecuteASync Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.ExecuteASync Method
ArcGIS Developer Help

IGeoProcessor2.ExecuteASync Method

Execute a tool within the current Geoprocessing session.

[Visual Basic .NET]
Public Function ExecuteASync ( _
    ByVal Name As String, _
    ByVal ipValues As IVariantArray _
) As IGeoProcessorResult
[C#]
public IGeoProcessorResult ExecuteASync (
    string Name,
    IVariantArray ipValues
);
[C++]
HRESULT ExecuteASync(
  BSTR Name,
  IVariantArray* ipValues
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR ipValues [in]
ipValues is a parameter of type IVariantArray*

Product Availability

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

Description

Executes a tool in a background process, allowing the ArcGIS application and controls to remain responsive to user input.

See Also

IGeoProcessor2 Interface