Click or drag to resize

LocalGeoprocessingServiceMaxRecords Property

Gets or sets the maximum number of records that can be returned by the Geoprocessing service.

Namespace:  Esri.ArcGISRuntime.LocalServices
Assembly:  Esri.ArcGISRuntime.LocalServices (in Esri.ArcGISRuntime.LocalServices.dll) Version: 100.7.0.0
Syntax
public int MaxRecords { get; set; }

Property Value

Type: Int32
Exceptions
ExceptionCondition
InvalidOperationExceptionMaxRecords cannot be set if the service is not in the stopped state.
ArgumentExceptionNumber cannot be zero or negative
Remarks

The MaxRecords property must be set before the Geoprocessing service has started. This property has a default value of 1000.

The maximum number of records property determines the number of output features or records returned by the service. If the number of output records or features created by a geoprocessing task exceeded the maximum number of records, the service will not return any features or records. The clients can identify such cases by examining the exceeded transfer limit property of the feature set or record set returned by the task. The exceeded transfer limit property will be set to true when the number of records and features of the output parameter exceed the maximum number of records specified by the service.

See Also