PublishException() private method

Publishes the exception.
private PublishException ( BitsJob job, COMException exception ) : void
job BitsJob The job the exception occurred.
exception System.Runtime.InteropServices.COMException The exception.
return void
コード例 #1
0
ファイル: BitsJob.cs プロジェクト: 11RS/SharpBITS.NET
 public BitsFiles EnumFiles()
 {
     try
     {
         IEnumBackgroundCopyFiles fileList = null;
         this.job.EnumFiles(out fileList);
         this.files = new BitsFiles(this, fileList);
     }
     catch (COMException exception)
     {
         manager.PublishException(this, exception);
     }
     return(this.files);
 }