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


IGeoProcessor2.ExecuteASync Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

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,
  IGeoProcessorResult** ppResult
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR ipValues [in]
ipValues is a parameter of type IVariantArray ppResult [out, retval]
ppResult is a parameter of type IGeoProcessorResult

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