开发者

TcpConnection and WcfProxy

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜