The function evaluation requires all threads to run.
Hi
I have a list view and I need to access the values of the list Items, but I'm getting The function evaluation requires all threads to run. . Here is the code:
@using Umbraco.Web
@using Umbraco.Web.Mvc
@{
Layout = "";
}
@{
var UContentList = Model.Content.Children;
var SContentList = new List<IMyProject.Models.MyContent>();
foreach (var uContent in UContentList)
{
var SContent = new IMyProgram.Models.MyContent(
uContent.pageTitle.ToString()
);
SContentList.Add(SContent);
}
I think you're just having problems with debugging. The operation you're trying to do would require more than showing a know value.
Try changing your code so that a variable is exposed with the computed value that you're after. You may also have some luck adding it to the watch window, and then step to the next line of code.
The function evaluation requires all threads to run.
Hi I have a list view and I need to access the values of the list Items, but I'm getting
The function evaluation requires all threads to run.
. Here is the code:please advice
I think you're just having problems with debugging. The operation you're trying to do would require more than showing a know value.
Try changing your code so that a variable is exposed with the computed value that you're after. You may also have some luck adding it to the watch window, and then step to the next line of code.
If you don't mind paying $$$ then this might help too: https://www.oz-code.com/
Hi David,
I found the solution. https://blogs.msdn.microsoft.com/eliofek/2012/12/12/why-do-we-get-the-function-evaluation-requires-all-threads-to-run/
no thanks I don't need solutions with $$$.
is working on a reply...