Exemplo n.º 1
0
 public SyncBatchParameters GetKnowledge()
 {
     try
     {
         SyncBatchParameters destParameters = new SyncBatchParameters();
         this.peerProvider.GetSyncBatchParameters(out destParameters.BatchSize, out destParameters.DestinationKnowledge);
         return(destParameters);
     }
     catch (COMException ex)
     {
         throw;
     }
     catch (SyncException ex)
     {
         throw;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
        public SyncBatchParameters GetKnowledge()
        {
            try
            {
                SyncBatchParameters destParameters = new SyncBatchParameters();
                this.peerProvider.GetSyncBatchParameters(out destParameters.BatchSize, out destParameters.DestinationKnowledge);
                return destParameters;
            }
            catch (COMException ex)
            {

                throw;
            }
            catch (SyncException ex)
            {

                throw;
            }
            catch (Exception ex)
            {

                throw;
            }
        }