不具合
不具合 ID 番号 | BUG-000174299 |
---|---|
送信されました | February 12, 2025 |
最終更新日 | March 11, 2025 |
適用対象 | ArcGIS Pro SDK for .NET |
見つかったバージョン | 3.3 |
オペレーティング システム | Windows OS |
オペレーティング システムのバージョン | 11.0 64 bit |
ステータス | Will Not Be Addressed |
Do not use the QueuedTask to open the dock pane. It has to be opened on the UI thread. Try this instead: protected override Func ExecuteCommandArgs(string id) { try { ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show($"message: {id}"); // Run the command specified by the id passed into ExecuteCommandArgs IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper(id); var command = wrapper as ICommand; if (command != null && command.CanExecute(null)) command.Execute(null); } catch (System.Exception e) { ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show($"ERROR: {e}", "Error running command"); } return (object[] args) => DoNothing(); } private Task DoNothing() { return Task.CompletedTask; }
不具合 ID: BUG-000174299
ソフトウェア:
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード