title: How do I know when OneDrive background download has completed?
body: <p>The (small) sample code from Microsoft for background downloads with Windows Runtime apps is:</p>
  
  <pre><code>try
  {
      LiveDownloadOperation operation = await connectClient.CreateBackgroundDownloadAsync(filePath);
      var result = await operation.StartAsync();
      // Handle result.
  }
  catch
  {
      // Handle errors.
  }
  </code></pre>
  
  <p>I'm using the variant of CreateBackgroundDownloadAsync where you can specify a StorageFile as the second parameter, causing the downloaded file to be stored as that StorageFile.</p>
  
  <p>How do I know when the download has completed? result doesn't seem to have any properties I can check, nor does there seem to be any event that gets fired.</p>
  
  <p>The documentation is sorely lacking :-(.</p>
  
  <p>Thanks.</p>