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
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.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
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |