Share via


Extending and Modifying the Policy Injection Application Block

Retired Content

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.

In its original form, the Policy Injection Application Block works well for typical scenarios such as validating method parameter and property values, checking authorization, applying caching to method return values and property values, logging method and property calls, and handling exceptions. However, there may be times when you have to customize certain behaviors of the Policy Injection Application Block to better suit your application's particular requirements. There are two ways to do this: