laptop and a wrench

不具合

The ArcGIS Mobile walk through for creating a first project extension returns the error "the calling thread must be STA, because many UI components require this" when creating a new MenuItem object.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM058647
送信されましたJune 29, 2010
最終更新日April 2, 2025
適用対象No Product Found
見つかったバージョン10.0
修正されたバージョン10.1
ステータスFixed

対処法

Add the following line above the System.Windows.Controls.MenuItem ami = new System.Windows.Controls.MenuItem();if (!MobileApplication.Current.Dispatcher.CheckAccess()) { MobileApplication.Current.Dispatcher.BeginInvoke((System.Threading.ThreadStart)delegate() { Initialize(); }); return; }

再現の手順

不具合 ID: NIM058647

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動