HOW TO
A barrier is a point through which the route does not pass. The route will instead go around these points. Create custom route barriers by providing points.
To use custom barriers, leave RouteFinderOptions:avoidTraffic=false and RouteFinderOptions:trafficDataSource=null.
Article ID:000008280
Get help from ArcGIS experts
Download the Esri Support App