When IMapEvents_Event version changes, it does not release reference to other version.
最後に公開された状態: August 25, 2014No Product Found
不具合 ID 番号
NIM002374
送信されました
May 4, 2006
最終更新日
April 9, 2025
適用対象
No Product Found
見つかったバージョン
9.1
プログラム言語
C#
ステータス
Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
No Public Explanation
対処法
Need to explicitly release method parameters using marshal.releasecomobject. For each of the events(featureclasschange,versionchange,tablechange).private void MapEventsTestCommand_VersionChanged(ESRI.ArcGIS.Geodatabase.IVersion oldVersion, ESRI.ArcGIS.Geodatabase.IVersion newVersion) { Debug.WriteLine("VersionChanged","MapEventsTestCommand"); try { while(Marshal.ReleaseComObject(oldVersion)>0); while(Marshal.ReleaseComObject(newVersion)>0); } catch(Exception exc) { Debug.WriteLine(exc,"MapEventsTestCommand"); } }