IInterceptor.MethodInfoForPipeline 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. |
Given a MethodImplementationInfo, return the appropriate MethodInfo object to use to attach a HandlerPipeline to so that the handlers will get called when the method gets called.
Namespace: Microsoft.Practices.Unity.InterceptionExtension
Assembly: Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)
Syntax
'Declaration
Function MethodInfoForPipeline ( _
methodInfo As MethodImplementationInfo _
) As MethodInfo
MethodInfo MethodInfoForPipeline(
MethodImplementationInfo methodInfo
)
MethodInfo^ MethodInfoForPipeline(
MethodImplementationInfo^ methodInfo
)
function MethodInfoForPipeline(
methodInfo : MethodImplementationInfo
) : MethodInfo
Parameters
- methodInfo
Type: Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo
Original MethodImplementationInfo object that combines the MethodInfos for an interface method and the corresponding implementation.
Return Value
The MethodInfo object to pass to the SetPipeline(MethodBase, HandlerPipeline) method.