title: Passing a method parameter using Task.Factory.StartNew
body: <p>I have the following code:</p>
  
  <pre><code>var task = Task.Factory.StartNew(CheckFiles, cancelCheckFile.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
  
  private void CheckFiles()
  {
    //Do stuff
  }
  </code></pre>
  
  <p>I now want to amend CheckFiles to accept and integer and a BlockingCollection reference</p>
  
  <pre><code>private void CheckFiles(int InputID, BlockingCollection&lt;string&gt; BlockingDataCollection)
  {
    //Do stuff
  }
  </code></pre>
  
  <p>I can't seem to find a way to Start this task as I did above.</p>
  
  <p>Can you help?</p>
  
  <p>Thanks</p>