Creating and Wrapping Object Instances

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.

The Policy Injection Application Block exposes the following two methods that developers can use to add a handler pipeline to a target object and generate the appropriate proxy for the client code to use:

  • Create. This method creates a new instance of a policy-enabled interceptable target object.
  • Wrap. This method adds policies to existing interceptable target object instances.
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.