Share via


Interception Class

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 Unity Application Block information can be found at the Unity Application Block site.

A Unity container extension that allows you to configure whether an object should be intercepted and which mechanism should be used to do it, and also provides a convenient set of methods for configuring injection for RuleDrivenPolicy instances.

Namespace:  Microsoft.Practices.Unity.InterceptionExtension
Assembly:  Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)

Syntax

'Declaration
Public Class Interception _
    Inherits UnityContainerExtension
public class Interception : UnityContainerExtension
public ref class Interception : public UnityContainerExtension
public class Interception extends UnityContainerExtension

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Unity.UnityContainerExtension
    Microsoft.Practices.Unity.InterceptionExtension.Interception

See Also

Interception Members

Microsoft.Practices.Unity.InterceptionExtension Namespace

Interception.SetDefaultInterceptorFor(Type, IInstanceInterceptor)

Interception.SetDefaultInterceptorFor(Type, ITypeInterceptor)

Interception.SetInterceptorFor(Type, String, IInstanceInterceptor)

Interception.SetInterceptorFor(Type, String, ITypeInterceptor)

Interception.AddPolicy(String)