Partager via


Interception.SetDefaultInterceptorFor Method

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.

Overload List

  Name Description
Ee649673.pubmethod(en-us,PandP.10).gif SetDefaultInterceptorFor<TTypeToIntercept>(IInstanceInterceptor)
API to configure the default interception settings for a type.
Ee649673.pubmethod(en-us,PandP.10).gif SetDefaultInterceptorFor<TTypeToIntercept>(ITypeInterceptor)
Set the interceptor for a type, regardless of what name is used to resolve the instances.
Ee649673.pubmethod(en-us,PandP.10).gif SetDefaultInterceptorFor(Type, IInstanceInterceptor)
API to configure the default interception settings for a type.
Ee649673.pubmethod(en-us,PandP.10).gif SetDefaultInterceptorFor(Type, ITypeInterceptor)
Set the interceptor for a type, regardless of what name is used to resolve the instances.

See Also

Interception Class

Interception Members

Microsoft.Practices.Unity.InterceptionExtension Namespace