开发者

.NET: Does ExecutionContext.SuppressFlow dissociate ThreadStatic variables?

The title of the question pretty much says it all. Will static variables marked with the [ThreadStaticAttribute] get messed up if you use ExecutionContext.SuppressFlow() to cancel the propagation of the security context and identity token, etc.?

In other words, are thread statics included in the set of context items? If so, is there a way to specify which parts of the context you want (i.开发者_JAVA百科e. only ThreadStatics and not the rest).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜