Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Microsoft Virtual Academy content

This video is part of a free online course from Microsoft Virtual Academy, click here to view the full course and take advantage of many additional features such as assessments, slides, learning plans and more.

Task Parallel Library: Task Results

6 minutes, 0 seconds


Right click “Save as…”

In diesem Screencast wird gezeigt wie die Klasse Task Rückgabewerte an die Ablauflogik zurückliefern kann. . Der Screencast basiert auf der Visual Studio 2010 Beta 1 und demzufolge kann sich die API ändern.

Viel Spaß beim reinschauen,


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Нихрена не понял, но прикольно!!!

    Actually I can understand German. Author shows us the way we can use new Threading extensions and Result property in particual in some syntetic sample. Do you really gonna draw a graph of relation (sync-ing) for more than 1 different compenting threads types? Do it actually works for you? I mean there is a better way to spen our time anyway Wink If guys from Microsoft even forgot this field it is trivial to implement it manually. Anyway, good news that they didn't forget all great Result property.

  • Suppose it is a naive implementation of sequential access pattern. I'm even thiniking should or shoudnt I create the analogue sample for the my library at http://plugins.codeplex.com? Because I already have working sequential pattern (in conjunction of lasy evaluation pattern) in use of logging mechanism, when a lot of logging operations each of them is not VERY time consuming, can resonably slow down OVERALL application preformance. See my SequentialWorkItem<T> implementation in Plugins.Threading library.

  •  @hack2roototmai

    Thanks for your feedback. Of course my sample is simple and synthetic. But I don't really get your point about the possible usage of future results. Would be great if you could explain this in more depth.

    Regarding the overhead: Each parallel implementation (it doesn't matter which one, even if you are doing it yourself) comes with the cost of overhead. So, is the overhead worth to parallize and you still benefit then do it. If not, just don't.

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.