ArcGISRUntime for . net已经更新到200.0.0。我正在使用Toolkit来加载一个基础地图。不幸的是,ArcGISRUntime低于200。WPF, BasemapGallery将永远进入一个小时杯。
对于在ArcGISRUntime 200下运行gpkx的LocalServices(100.15),它会产生许多异常,例如
抛出异常:'System.Net. net . '在System.dll中出现webeexception
抛出异常:'System.Net. net . '在System.dll中出现webeexception
抛出异常:'System.Net. net . '在System.dll中出现webeexception
抛出异常:'System. '在System.dll中的ObjectDisposedException'
抛出异常:'System. '在System.dll中的InvalidOperationException'
抛出异常:'System. '在System.dll中的InvalidOperationException'
抛出异常:'System. '在System.dll中的ObjectDisposedException'
抛出异常:'System. '在System.dll中的ObjectDisposedException'
这是网址:https://esri.github.io//arcgis-maps-sdk-dotnet-toolkit/basemap-gallery.html
你有一个小样本来证明你所看到的问题吗?
您是否能够在错误列表窗口中启用断点来强制中断捕获的异常?
事情是这样的。你还需要吗?我在为NetFramework 4.8构建的WPF应用程序中运行Simple Contour gpkx。
我还启用了LocalServer调试选项。
当异常(请求被中止:请求被取消)被触发时,它正在寻找_ConnectionStream.cs文件。
调用堆栈:
> System.dll ! System.Net.ConnectStream。BeginRead(byte[] buffer, int offset, int size, System。)第1667行c#
System.dll ! System.IO.Compression.DeflateStream。BeginRead(byte[]数组,int偏移量,int计数,系统。第415行c#
System.dll ! System.Net.GZipWrapperStream。BeginRead(byte[] buffer, int offset, int size, System。)第753行c#
System.dll ! System.Net.Cache.ForwardingReadStream。BeginRead(byte[] buffer, int offset, int count, System.)第685行c#
System.Net.Http.dll ! System.Net.Http.HttpClientHandler.WebExceptionWrapperStream。BeginRead(byte[] buffer, int offset, int count, System.)第1313行c#
System.Net.Http.StreamToStreamCopy.StartRead()第98行c#
System.Net.Http.dll ! System.Net.Http.StreamToStreamCopy.BufferReadCallback(系统。第167行c#
System.dll ! System.Net.LazyAsyncResult.Complete(系统。第415行c#
System.dll ! System.Net.LazyAsyncResult。(对象结果,系统。第368行c#
System.dll ! System.Net.Cache.ForwardingReadStream.ReadComplete(系统。第629行c#
mscorlib.dll ! System.IO.FileStreamAsyncResult。asyncfcallback (int errorCode, int numBytes, System.Threading)第366行c#
mscorlib.dll ! System.Threading._IOCompletionCallback。PerformIOCompletionCallback(uint errorCode, uint numBytes, System.Threading)NativeOverlapped* overllap) 135行c#