在Application_UnhandledException函数内,跟踪异常e的提示信息,可以了解到如下信息:
at
System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at System.Net.OpenReadCompletedEventArgs.get_Result()
at
MapBase.NewMap.Layer.NewMapWMTSLayer.w_OpenReadCompleted(Object
sender, OpenReadCompletedEventArgs e)
at
System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs
e)
at System.Net.WebClient.OpenReadOperationCompleted(Object
arg)
尝试了实时调试功能http://baike.baidu.com/view/1370595.htm,以失败告终。