摘要: 以前都是使用 System.Runtime.Remoting.Messaging.CallContext 类来保存与线程相关的信息, 今天在网上看到了 ThreadStaticAttribute 类,此类也可以实现相同的功能,使用方法:publicclassClassA{[ThreadStatic]privatestaticstringm_Name;publicstaticstringName{g... 阅读全文
posted @ 2007-06-18 22:03 匡匡 阅读(822) 评论(0) 推荐(0)