service.close() vs. service.abort() - WCF example
- by Larry Watanabe
In one of the WCF tutorials, I saw the followign sample code:
Dim service as ...(a WCF service )
try
..
service.close()
catch ex as Exception()
...
service.abort()
end try
Is this the correct way to ensure that resources (i.e. connections) are released even under error conditions?
Thanks for the answers guys! I upvoted you all.