Freigeben über


PolicyDefinition.AddCallHandler 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
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler<TCallHandler>(array<InjectionMember[])
Configures injection for a new ICallHandler and makes it available as a call handler in the current policy.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler(ICallHandler)
Makes instance a call handler in the current policy.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler(String)
Adds a reference to call handler by name.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler<TCallHandler>(LifetimeManager, array<InjectionMember[])
Configures injection for a new ICallHandler and makes it available as a call handler in the current policy, using the given LifetimeManager.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler<TCallHandler>(String, array<InjectionMember[])
Configures injection for a new ICallHandler using the specified name and makes it available as a call handler in the current policy.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler(Type, array<InjectionMember[])
Configures injection for a new ICallHandler and makes it available as a call handler in the current policy.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler<TCallHandler>(String, LifetimeManager, array<InjectionMember[])
Configures injection for a new ICallHandler using the specified name and makes it available as a call handler in the current policy, using the given LifetimeManager.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler(Type, LifetimeManager, array<InjectionMember[])
Configures injection for a new ICallHandler and makes it available as a call handler in the current policy, using the given LifetimeManager.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler(Type, String, array<InjectionMember[])
Configures injection for a new ICallHandler using the specified name and makes it available as a call handler in the current policy.
Ee651408.pubmethod(en-us,PandP.10).gif AddCallHandler(Type, String, LifetimeManager, array<InjectionMember[])
Configures injection for a new ICallHandler using the specified name and makes it available as a call handler in the current policy, using the given LifetimeManager.

See Also

PolicyDefinition Class

PolicyDefinition Members

Microsoft.Practices.Unity.InterceptionExtension Namespace