Esri Business Analyst Server API for Silverlight 2.2 Reference
ThresholdRingsRadiiParameters Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.TradeAreas Namespace : ThresholdRingsRadiiParameters Class

Glossary Item Box

The ThresholdRingsRadiiParameters class provides input parameters for the Threshold Rings Radii task.

Object Model

ThresholdRingsRadiiParameters ClassExtentData ClassBAResultType ClassPointLayer ClassBoundaries Class

Syntax

Remarks

The analysis can be restricted to an analysis extent if the AnalysisExtent parameter is specified. Optional SingleStoreID parameter restricts the analysis to a single store of the store layer.

Example

The code snippet below creates ThresholdRingsRadiiParameters and then executes a Threshold Rings Radii task.
C#Copy Code
ThresholdRingsRadiiParameters parameters = new ThresholdRingsRadiiParameters();
            
// The PointLayer type could take either data as
// ESRI.ArcGIS.Client.Tasks.FeatureSet, ESRI.ArcGIS.Client.BAServer.FolderItem,
// or a list of ESRI.ArcGIS.Client.BACore.PointRecord items, e.g.
//List<PointRecord> points = new List<PointRecord>() {
//    new PointRecord("Store 1", "Steiner St. & Geary Blvd", "1", 37.78415, -122.4346)};
            
// Set Stores as a list of PointRecord using implicit cast operator.
parameters.Stores = points;
            
// The StoreIDField parameter is ignored if stores are specified as a list of PointRecord.
//parameters.StoreIDField = "STORE_ID";
            
// Optionally restrict analysis to ExtendData object specified with myExtent.
//parameters.AnalysisExtent = myExtent;
            
// Set a data layer to apply summarization by.
parameters.ThresholdData = new Boundaries(new StandardLayer("US.ZIP5", zipCodesArray));
            
// Set threshold values.
parameters.Radii = new List<double>(){ 3,5,10 };
            
// Set a summarization field.
parameters.SummarizationField = "TOTHH_CY";
            
// esriUnits.esriMiles is the default value for OutputUnits.
//parameters.OutputUnits = esriUnits.esriMiles;
            
thresholdRingsRadiiTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.BABaseParameters
      ESRI.ArcGIS.Client.BACore.Client.BAUtilityParameters
         ESRI.ArcGIS.Client.BAServer.Tasks.TradeAreas.ThresholdRingsRadiiParameters

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.