xiaoguang

Excute ServiceFeatureTable.QueryFeatureAsync Catch Exception

Discussion created by xiaoguang on Aug 21, 2017
Latest reply on Aug 30, 2017 by xiaoguang

Hi, when I excute the below codes, somethimes it will catch the "Invalid URI: URI string too long" exception.

QueryParameters queryParams = new QueryParameters()
{
WhereClause="name like '%"+ (stateName.ToUpper()) + "%'",

Geometry=searchGeometry
};

// Query the feature table
FeatureQueryResult queryResult = await _featureTable.QueryFeaturesAsync(queryParams);

I don't konw this is because there is something wrong with my input geometry or some else? 

Outcomes