开发者

C# SeviceSecurityContext.Current is not preseved QueueUserWorkItem

When delegating a thread using ThreadPool.QueueuserWorkItem the ServiceSecurityContext.Current does not persist (returns null). Several of the methods I am calling require that the security context be valid prior to returning information.

Is there a way to create a 开发者_Go百科thread that will run with the same security context? Is it possible to allow the current security context to persist or does a thread specific security context need to be setup?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜