laptop and a wrench

Bogue

Implementing IObjectClassEvents in .NET results in versions that can't be deleted (version locked) after editing stopped and switching back to DEFAULT version.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM004409
EnvoiSeptember 27, 2006
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2 Pre
Langue du programmeC#
StatutDuplicate

Informations supplémentaires

NIM002352

Solution de contournement

Fully release com object in overridden methods.Example of the overridden OnCreate method of IObjectClassEvents in C#:Will not reproduce: public void OnCreate(IObject obj) { //Do something //explicitly release com object holding reference to version (workspace) Marshal.ReleaseComObject(obj); obj = null; MessageBox.Show("ReleaseComObject + Null"); }Original work around:Implement IObjectClassEvents in VB6 or C++

Étapes pour reproduire

ID de bogue: NIM004409

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement