Reputation: 3487
When I dispose wcf client proxy, is TcpConnection still available?
(netTcpBinding has been used)
Upvotes: 0
Views: 222
Reputation: 364299
The connection itself can be available in some special configurations with connection pooling but you are probably asking if the service instance/session is still available. The answer is no. Lifetime of proxy and its related service instance are coupled (+ timeouts can affect lifetime). So when you close the proxy you can't use the instance ("connection") any more.
Upvotes: 1