C#.Net6.0,7.0 .Net Core 为什么没有CallContext类?

因为CallContext类是来自.Net Framework框架,此类目前还不支持.Net Core及.Net 5以上的框架。

参考微软官方文档:https://learn.microsoft.com/zh-cn/dotnet/api/system.runtime.remoting.messaging?view=netframework-4.8.1