When I dispose wcf client pro开发者_开发百科xy, is TcpConnection still available?
(netTcpBinding has been used)
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.
精彩评论