Thanks for reply!
your explanation is reasonable and clears what happens. But I'm not sure why this has to be this way. Of cause the UI-Thread is blocked because of the .Result. But it is blocked because it waits until the Task that executes DoSomething() is finished. Shouldn't the await firing back into the UI-Thread dissolve the blocking caused by the Result? Because the UI-Thread still waits there. Why is it possible to block in way that it's not possible to resolve this blocking?
Hope this gets not to philosophic ;) (that's way i mark your last post as answer to my initial question)
No comments:
Post a Comment