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
ArgumentException

Invalid value specified for path.

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12

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
ArgumentException

Invalid value specified for path.

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.