Public Sub SetDisplayCacheMaxAge( _ ByVal displayCacheAge As TimeSpan _ )
public void SetDisplayCacheMaxAge( TimeSpan displayCacheAge )
Parameters
- displayCacheAge
Public Sub SetDisplayCacheMaxAge( _ ByVal displayCacheAge As TimeSpan _ )
public void SetDisplayCacheMaxAge( TimeSpan displayCacheAge )
| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
{
// change from the default 5 min to 2 min
//Note: needs to be called on the MCT
featureLayer.SetDisplayCacheMaxAge(TimeSpan.FromMinutes(2));
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)