Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Task ContinueWith

Task ContinueWith

Scheduled Pinned Locked Moved C#
tutorialcsharpdotnethelpworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MAW30
    wrote on last edited by
    #1

    Using .Net Framework 4.0 VS2010 I am trying to setup a parent task with child task (task1) to run x number (100) of task then run a separate task (task2) 1 time then continue running task1, etc. continuous loop until total task (1000) are complete. Can I do this using the ContinueWith statement, can someone please give me an example or point me to one that shows how to do this. Any help will be greatly appreciated, Michael

    S 1 Reply Last reply
    0
    • M MAW30

      Using .Net Framework 4.0 VS2010 I am trying to setup a parent task with child task (task1) to run x number (100) of task then run a separate task (task2) 1 time then continue running task1, etc. continuous loop until total task (1000) are complete. Can I do this using the ContinueWith statement, can someone please give me an example or point me to one that shows how to do this. Any help will be greatly appreciated, Michael

      S Offline
      S Offline
      Simon_Whale
      wrote on last edited by
      #2

      I would have a read of this MSDN Task Parallelism (Task Parallel Library)[^] It gives many example of the different ways to execute a Task

      Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups