none
Thread notification in Windows Application RRS feed

  • Question

  •  

    Hi,

     

    My windows application downloads files from VSS to local folder. This method is started as a New Thread. Is there any way to know when the thread finished execution ? After copying I want to call another method that lists all files. Can we use any events to know the state of thread ? I am using below code to start new thread

     

    ThreadStart tsVSS=new ThreadStart(GetLatestFiles())

    Thread myThread=new Thread(tsVSS)

    myThread.start()

     

    Thanks,

     

    Raju S

    Wednesday, March 19, 2008 4:43 PM

Answers