locked
Task queue in windows phone RRS feed

  • Question

  • Hi 

     I want to execute one fuction call after completion of another.Like queue manner.

    I have timer in my application which calling one class fuction SetImageFromUrl() .

    timer.Tick += (s,e) =>

    {

       calssobj.SetImageFromUrl(Image image);

    }

    I want to queue this fuction call means when timer call second time it will wait to complete first called function completion


    Ravindra

    Tuesday, October 1, 2013 7:37 AM

All replies

  • How do you know when the first function is completed? Which function is it anyway?

    If you want to execute two functions in a row, you do it like this:

    Foo1();
    Foo2();


    Toni Petrina
    My blog: Toni codes .NET
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful"

    Tuesday, October 1, 2013 7:41 AM