Is This Content Helpful?
We're glad to know this article was helpful.
When running an ArcObjects application written in Visual Studio .NET, the code stops executing, but does not return an error.
Exception handling needs to be added to the application.
The C# and Visual Basic .NET code samples show how to add exception handling to the application.
//Code that might cause an error
catch (Exception ex)
//cleanup code goes here
'Code that might cause an error
Catch ex As Exception