托管资源(Managed Resource)是dot Net的一个概念,指那些资源的回收工作由.net CLR 的GC 机制自动完成,无需显式释放的资源。比如int,string,float,DateTime等等对象,要说的是.net中超过80%的资源都是托管资源。
释放非托管资源所占用的内存。
托管资源模式使用以下扩展来创建云资源模式(见图4)。
The managed resource pattern employs the following extensions to create the cloud resource pattern (see Figure 4).
使用与实现特征相关的修改来强化托管资源模式和托管任务模式。
Enhance the managed resource pattern and managed task pattern with the implementation attribute-related changes.
应用推荐