开发者

Can we share a static field across Application domains?

Consider a process, in which multiple Ap开发者_运维问答plication domains are created. Can we share a single static field across these Application domains or can we pass this static field across these application domains? How does CLR handle this?


C++/CLI can do this, using __declspec(process) vs __declspec(appdomain). I'm not sure exactly how it records that in the metadata or whether that's an attribute to do that in other languages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜