wcf - Is Dispose neccessary for the class I put in ServiceHost -


i hosting wcf services in managed application.
use servicehost class this.

regarding class hosting inside servicehost, should implement idispoable ? when called if implemented :idisposable ?
when call servicehost.close() ?

the main reason implement idisposable if class wraps unmanaged resource.

whether inside servicehost has no bearing.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -