View Single Post
Old 03-04-2006   #5 (permalink)
Ido Samuelson
Guest


 
 

RE: Proxy interception via DispatchOperation

Hello Ralph,

This I knew, however the Invoker on a duplex channel is for invoking the
callback methods. Not exactly what I am after.

Best Regards,

Ido Samuelson
Senior consultant
Advantech (Magen MTC)
mailto:idos@magen.com

> Update: There is no direct parallel to IOperationInvoker on the proxy
> UNLESS you're doing duplex, in which case you can extract that from
> the ProxyBehavior.CallbackContractDispatchBehavior (IIRC). I'll be
> curious to hear whether those other extension points acheive your
> goals or not.
>
> Cheers, Ralph
>
> "Ido Samuelson" wrote:
>
>> Hello Ralph,
>>
>> Thanks!, I will look into it today.
>>
>> Best Regards,
>>
>> Ido Samuelson
>> Senior consultant
>> Advantech (Magen MTC)
>> mailto:idos@magen.com
>>> I would say that it depends what you're trying to do. Try using
>>> ProxyOperation.ParameterInspector or
>>> ProxyOperation.OperationFormatter. Both give you so much control
>>> that you should be able to do what you want to do. If you want to
>>> manipulate a duplex callback on the proxy, then
>>> ProxyBehavior.DuplexCallbackDispatchBehavior.OperationInvoker will
>>> allow you to do that.
>>>
>>> Hope this helps, Ralph
>>>
>>> "Ido Samuelson" wrote:
>>>
>>>> On the service side I have the IOperationInvoker interface to
>>>> intercept the
>>>> invoke procedure (used via DispatchOperation)
>>>> Is there a way to override the invoker on the proxy side?
>>>> Best Regards,
>>>> Ido Samuelson
>>>> Senior consultant
>>>> Advantech (Magen MTC)
>>>> mailto:idos@magen.com



My System SpecsSystem Spec