Exception Handling: Same as the Full .NET Framework
After following the advice of the preceding section, you will have done the best you can to let the compiler find errors for you before running the application. However, no application exists without issues and bugs manifesting in two ways:
As logical errors where the application produces incorrect results and/or behavior (this is discussed in later sections of this chapter)
As exceptions that get thrown at run time
We discuss the different kinds of run-time exceptions and how to deal with them in the following sections, but first, we talk a bit about .NET exception handling.
Essentially, exception handling with the .NET Compact Framework is identical to exception handling with the full .NET Framework. ...
Get Microsoft® Mobile Development Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.