private void BufferAddressButton_Click(object sender, RoutedEventArgs e) { _geometryService = new GeometryService("http://myServer/ArcGIS/rest/services/Geometry/GeometryServer"); _geometryService.BufferCompleted += GeometryService_BufferCompleted; _geometryService.Failed += GeometryService_Failed; _geometryService.CancelAsync(); BufferParameters buffParameters = new BufferParameters(); buffParameters.Unit = LinearUnit.StatuteMile; buffParameters.BufferSpatialReference = new SpatialReference(54034); buffParameters.OutSpatialReference = Map1.SpatialReference; buffParameters.UnionResults = true; GraphicsLayer graphicsLayerAddress = Map1.Layers["AddressSearched"] as GraphicsLayer; Graphic graphic = graphicsLayerAddress.Graphics[0]; //buffParameters. buffParameters.Distances.Add(2); buffParameters.Features.Add(graphicsLayerAddress.Graphics[0]); _geometryService.BufferAsync(buffParameters); }