private void SimplifyAndQueryButton_Click(object sender, RoutedEventArgs e)
{
GeometryService geometryService =
new GeometryService("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer");
geometryService.SimplifyCompleted += GeometryService_SimplifyCompleted;
geometryService.Failed += GeometryService_Failed;
List<Graphic> graphicList = new List<Graphic>();
graphicList.Add(_unsimplifiedGraphic);
geometryService.SimplifyAsync(graphicList);
}