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
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |
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
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |