Show / Hide Table of Contents

Constructor LocalGeoprocessingService

LocalGeoprocessingService(String)

Initializes a new instance of the LocalGeoprocessingService class based on the provided path to a geoprocessing package.

Declaration
public LocalGeoprocessingService(string path)
Parameters
Type Name Description
System.String path

A System.String representing the path to a geoprocessing package.

Exceptions
Type Condition
System.ArgumentException

Invalid value specified for path.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.8
.NET Framework100.0 - 200.8

LocalGeoprocessingService(String, GeoprocessingServiceType)

Initializes a new instance of the LocalGeoprocessingService class based on the provided path to a geoprocessing package and service type.

Declaration
public LocalGeoprocessingService(string path, GeoprocessingServiceType serviceType)
Parameters
Type Name Description
System.String path

A System.String representing the path to a geoprocessing package.

GeoprocessingServiceType serviceType

A GeoprocessingServiceType representing the service type.

Exceptions
Type Condition
System.ArgumentException

Invalid value specified for path.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.8
.NET Framework100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.