How to heal a callback channel?

If the WCF channel is faulty, we can delete the current connection and reopen it. But if the callback connection drops, I see no way to heal it, except when the client is constantly consolidating the server.

Can I recycle and reopen a callback channel?

+4
source share
1 answer

As far as I know, this is not possible. You may need to prevent the channel from entering the Faulted state:

  • All service exceptions must be wrapped in FaultExceptions (check the IErrorHandler interface) and properly handled on the client.
  • If the client channel is closed, there is nothing you can do about it.
+2
source

Source: https://habr.com/ru/post/1341292/


All Articles