| Numéro d’ID de bogue |
BUG-000116318 |
| Envoi | August 23, 2018 |
| Dernière modification | April 9, 2025 |
| S’applique à | ArcObjects SDK |
| Version trouvée | 10.6.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 7.0 64 Bit |
| Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
Wrong pattern used in the code. Please see the article below:
https://support.esri.com/en/technical-article/000018520
Pattern to follow:
public void Execute(ISchematicLayer schematicLayer, ITrackCancel CancelTracker)
{
if (schematicLayer == null)
return;
// Before Execute part
ISchematicInMemoryDiagram inMemoryDiagram;
inMemoryDiagram = schematicLayer.SchematicInMemoryDiagram;
// Core algorithm
InternalExecute(schematicLayer, inMemoryDiagram, CancelTracker);
// Release the COM objects
if (inMemoryDiagram != null)
while (System.Runtime.InteropServices.Marshal.ReleaseComObject(inMemoryDiagram) > 0) { }
while (System.Runtime.InteropServices.Marshal.ReleaseComObject(schematicLayer) > 0) { }
}
Étapes pour reproduire
ID de bogue: BUG-000116318
Logiciel: