Search code examples
.net.net-remoting

Terminate .NET remoting async service call from client side


There is a .NET remoting service that usually takes a longer time. When a client makes an async request to the service and when client times out, I need to terminate the execution of server call. How do I do it ?

Current service mode: Singleton


Solution

  • I think there isn't a way, unless you can abort the TCP channel. Best to use an async delegate and abort that.