laptop and a wrench

Erro

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.

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM058647
EnviadoJune 29, 2010
Última ModificaçãoApril 2, 2025
Aplica-se àNo Product Found
Versão encontrada10.0
Versão Fixa10.1
StatusFixed

Solução Provisória

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; }

Etapas para Reproduzir

ID do Erro: NIM058647

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download