QueryTask queryTask = new QueryTask(url); queryTask.ExecuteCompleted += QueryTask_ExecuteCompleted; private void QueryTask_ExecuteCompleted(object sender, QueryEventArgs args) { FeatureSet featureSet = args.FeatureSet; if (featureSet.Features.Count > 0) { // Add results to the map. foreach (Graphic resultFeature in featureSet.Features) { Logger.DebugFormat("LayoutRoot: Dispatcher.Thread: {0}, {1}", LayoutRoot.Dispatcher.Thread.ManagedThreadId, LayoutRoot.Dispatcher.Thread.Name); Logger.DebugFormat("resultFeature: Dispatcher.Thread: {0}, {1}", resultFeature.Dispatcher.Thread.ManagedThreadId, resultFeature.Dispatcher.Thread.Name); resultFeature.Symbol = LayoutRoot.Resources["FinalFillSymbol"] as ESRI.ArcGIS.Client.Symbols.Symbol; ... CRASH ... } } }
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.