Jesse This is usually done when there is a Close, End or Finish function,which will call Dispose for you. Jesse 这通常在有关闭,结束或完成功能时完成, 将为您调用Dispose。 This is usually done when there is a Close, End or Finish function, whichwill call Dispose for you. 我认为反过来,Dispose()会执行闭包,就像使用''使用''与Stream对象使用'/ b $ b'一样。 Jon I had thought the reverse, that Dispose() would perform closures, as withusing ''using'' with Stream objects. Jon 这篇关于WCF:为什么客户端的IDisposeable实现是私有的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-26 22:37