CommunicationObjectAbortedException & CommunicationObjectFaultedException in WCF Service

后端 未结 2 1913
难免孤独
难免孤独 2021-02-14 08:42

I am working on a system based on the publisher subscriber pattern. I have a WCF service that is running in a WPF application. There are numerous clients which connect to the se

2条回答
  •  梦如初夏
    2021-02-14 09:08

    After some research, i have solved this issue myself. The problem was that whenever my client disconnected unexpectedly without properly unsubscribing, and the service was not properly taking care of the dropped client. So the communciation object became faulted. Lee's answer to this question really helped me think in the right direction. Upon some more research then, i found this discussion pretty useful in solving the problem.

提交回复
热议问题