コード例 #1
0
 public void Invoke(IDownloadJob downloadJob, IDownloadCompletedCallbackArgs callbackArgs)
 {
     _reporter?.Report(downloadJob.GetProgress());
 }
コード例 #2
0
 public void Invoke(IDownloadJob downloadJob, IDownloadProgressChangedCallbackArgs callbackArgs)
 {
     ServiceEventSource.Current.VerboseMessage("Callback: Downloading of Windows Updates is In-Progress. Percent completed : " + downloadJob.GetProgress().PercentComplete);
 }