3 Comments

  1. Mohsin Khan

    Nice Post to achieve async in child action method, Though I have look into code and after that jump in .net source code.
    I found something interesting “Result” will be available if Task is generic “Task” .

    Below source code snippet from microsoft reference .Net Framework 4.7.1

    1) public class Task : Task
    2) which have Result property.
    [DebuggerBrowsable(DebuggerBrowsableState.Never)]
    public TResult Result
    {
    get { return IsWaitNotificationEnabledOrNotRanToCompletion ?
    GetResultCore(waitCompletionNotification: true) : m_result; }
    }
    If try to access “Result” using “Task” this will give compile error.

    Share your input.
    Thank
    Mohsin Khan

  2. Nice post. I was checking constantly this weblog and I am inspired! Extremely helpful information specially the final part 🙂 I care for such info a lot. I was seeking this certain info for a very long time. Thank you and good luck.

  3. Right here is the perfect webpage for everyone who hopes to understand this topic. You know so much its almost tough to argue with you (not that I personally would want to…HaHa). You definitely put a new spin on a topic that’s been discussed for ages. Great stuff, just wonderful!

Leave a Reply