tags:

views:

15

answers:

1

Hi,

I have a service in which 1 operation can take a lot of time and the others should end very quickly, can I configure using an OperationBehavior (or something else) the timeout (send\receive) to be different (at operation level) ?

Thanks, Doron

+1  A: 

No, the timeouts can only be specified in a binding configuration, and a binding configuration is attached to an endpoint - so all the service methods on that endpoint get the same timeouts.

The only thing you could do is split up your service into two contracts and expose two on two separate endpoints ("FastEndpoint" vs. "SlowEndpoint") and then use different settings for each endpoint to handle this situation.

marc_s