Custom task runner method throws ArgumentException

后端 未结 1 951
挽巷
挽巷 2021-01-23 05:20

Because of the fact that CultureInfo is not being copied from thread to thread I have made following method to do that thing for me.

public static StartCustomTas         


        
相关标签:
1条回答
  • 2021-01-23 06:16

    I got it. the problem was that the action contained a line like this Url = Request.Url, as I guess at the time code was being executed the Request object did not exist or was not set.

    0 讨论(0)
提交回复
热议问题