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




process
Used to indicate status.
Executes a tool asynchronously within the current Geoprocessing session using the IGPProcess.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ExecuteAsync( _
   ByVal process As IGPProcess _
) As IGeoProcessorResult
Visual Basic (Usage)Copy Code
Dim instance As Geoprocessor
Dim process As IGPProcess
Dim value As IGeoProcessorResult
 
value = instance.ExecuteAsync(process)
C# 
public IGeoProcessorResult ExecuteAsync( 
   IGPProcess process
)

Parameters

process
Used to indicate status.

Example

This sample shows how to create the IGPProcess
C#Copy Code
ESRI.ArcGIS.DataManagementTools.CopyFeatures tool = new ESRI.ArcGIS.DataManagementTools.CopyFeatures(); 

tool.in_features = mPath + mDatabase + @"\" + mFeatureClassName; 

tool.out_feature_class = mPath + mDatabase + @"\" + mCopyFeatureClassName;

See Also

© 2010 All Rights Reserved.