Developing Applications Using the Exception Handling Application Block
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
|The latest Enterprise Library information can be found at the Enterprise Library site.|
This topic describes how to develop applications by using the Exception Handling Application Block. It first explains how to configure the block and reference it in your applications. Next, it describes how to develop exception-handling strategies for your applications, and explains how to use the application block in specific scenarios such as logging and propagating exceptions. This section includes the following topics:
- Entering Configuration Information
- Adding Application Code
- Determining Appropriate Exception Policies and Actions
- Specifying Different Handling Actions Based on Exception Type and Policy
- Sending an Exception to the Exception Handling Application Block
- Handling and Throwing Exceptions
All application blocks ship as binary assemblies and as source code. If you want to use the source code, you must compile it before you can use the QuickStarts and configuration tools. To learn how to compile the Enterprise Library source code, see Building Enterprise Library from the Source Code.