| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
{
// Note: call within QueuedTask.Run()
{
//Must be called on the feature class
using var rfc = streamLayer.GetFeatureClass();
rfc.Truncate();
}
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)